Defines | |
#define | MODULE_ID "XSH_SUBTRACT_DARK" |
Enumerations | |
enum | { 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_SUBTRACT. | |
Variables | |
static struct option | long_options [] |
#define MODULE_ID "XSH_SUBTRACT_DARK" |
Definition at line 58 of file test-xsh_subtract_dark.c.
anonymous enum |
Definition at line 60 of file test-xsh_subtract_dark.c.
static void HandleOptions | ( | int | argc, | |
char ** | argv | |||
) | [static] |
Definition at line 86 of file test-xsh_subtract_dark.c.
References DEBUG_OPT, Help(), HELP_OPT, long_options, XSH_DEBUG_LEVEL_HIGH, XSH_DEBUG_LEVEL_LOW, and xsh_debug_level_set().
Referenced by main().
static void Help | ( | void | ) | [static] |
Definition at line 70 of file test-xsh_subtract_dark.c.
References TEST_END.
Referenced by HandleOptions().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Unit test of XSH_SUBTRACT.
Test the Data Reduction Library function XSH_SUBTRACT
Definition at line 124 of file test-xsh_subtract_dark.c.
References assure, check, xsh_pre::data, xsh_pre::errs, xsh_pre::exptime, HandleOptions(), instrument, MODULE_ID, xsh_pre::qual, sof_to_frameset(), TEST_END, TESTS_INIT, TESTS_XSH_FRAME_CREATE, XSH_ARM_UVB, XSH_ASSURE_NOT_NULL, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_dfs_set_groups(), xsh_error_dump, xsh_find_master_dark(), XSH_FLOAT_PRECISION, xsh_free_frame(), xsh_free_frameset(), xsh_instrument_free(), xsh_instrument_new(), xsh_instrument_set_arm(), xsh_instrument_set_lamp(), xsh_instrument_set_mode(), XSH_LAMP_QTH, XSH_LINEARITY_UVB, XSH_MODE_IFU, xsh_msg, xsh_pre_free(), xsh_pre_load(), xsh_prepare(), xsh_subtract_dark(), and xsh_test_create_frame().
struct option long_options[] [static] |
Definition at line 64 of file test-xsh_subtract_dark.c.
Referenced by HandleOptions().