Defines | |
#define | XSH_FLOAT_PRECISION 0.000001 |
#define | MODULE_ID "XSH_DATA_SLITMAP" |
Enumerations | |
enum | { BINX_OPT, BINY_OPT, DEBUG_OPT, HELP_OPT } |
Functions | |
static void | Help (void) |
static void | HandleOptions (int argc, char **argv) |
int | main (int argc, char **argv) |
Unit test of xsh_slitmap. | |
Variables | |
static struct option | LongOptions [] |
#define MODULE_ID "XSH_DATA_SLITMAP" |
Definition at line 61 of file test-xsh_slitmap.c.
#define XSH_FLOAT_PRECISION 0.000001 |
Definition at line 60 of file test-xsh_slitmap.c.
anonymous enum |
Definition at line 63 of file test-xsh_slitmap.c.
static void HandleOptions | ( | int | argc, | |
char ** | argv | |||
) | [static] |
Definition at line 90 of file test-xsh_slitmap.c.
References DEBUG_OPT, Help(), HELP_OPT, LongOptions, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, and xsh_debug_level_set().
Referenced by main().
static void Help | ( | void | ) | [static] |
Definition at line 74 of file test-xsh_slitmap.c.
References TEST_END.
Referenced by HandleOptions(), and main().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Unit test of xsh_slitmap.
Definition at line 123 of file test-xsh_slitmap.c.
References check, HandleOptions(), Help(), instrument, MODULE_ID, sof_to_frameset(), TEST_END, TESTS_INIT, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_dfs_set_groups(), xsh_error_dump, xsh_find_slitmap(), xsh_free_frameset(), xsh_get_slit_edges(), xsh_instrument_free(), and xsh_msg.
struct option LongOptions[] [static] |
Definition at line 67 of file test-xsh_slitmap.c.
Referenced by HandleOptions().