Test Data Type PRE functions
[Unit Tests]

Defines

#define MODULE_ID   "XSH_DATA_PRE"
#define SYNTAX
#define MODULE_ID   "XSH_IFU_TRACE_SLICES"
#define SYNTAX

Functions

int main (int argc, char **argv)
 Unit test of PRE module.

Define Documentation

#define MODULE_ID   "XSH_IFU_TRACE_SLICES"

Definition at line 58 of file test-xsh_ifu_trace_slices.c.

#define MODULE_ID   "XSH_DATA_PRE"

Definition at line 59 of file test-xsh_data_pre.c.

#define SYNTAX
Value:
"Computes the ifu slices positio \n"\
  "use : ./test_xsh_ifu_trace_slices IFU_FLAT.fits SLIT_FLATS.fits ORDER_TAB_CENTR\n"

Definition at line 60 of file test-xsh_ifu_trace_slices.c.

#define SYNTAX
Value:
"Test the pre frame\n"\
  "use : ./test_xsh_data_pre PRE \n"\
  "PRE   => the pre frame\n"

Definition at line 61 of file test-xsh_data_pre.c.


Function Documentation

int main ( int  argc,
char **  argv 
)

Unit test of PRE module.

Returns:
0 if tests passed successfully

Test the PRE module.

Definition at line 74 of file test-xsh_ifu_trace_slices.c.

References check, MODULE_ID, SYNTAX, TESTS_INIT, XSH_ASSURE_NOT_NULL, XSH_DEBUG_LEVEL_MEDIUM, xsh_debug_level_set(), xsh_error_dump, xsh_free_image(), xsh_scharr_x(), xsh_scharr_y(), xsh_sobel_lx(), and xsh_sobel_ly().


Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1