xrif
A fast lossless compression system
|
Tests of xrif initialization. More...
Tests of xrif initialization.
Definition in file xrif_test_init.c.
Go to the source code of this file.
Functions | |
START_TEST (initialize_handle_noerror) | |
Verify handle initialization. More... | |
END_TEST | START_TEST (initialize_handle_nullptr) |
Verify xrif_initialize_handle returns error on NULL pointer. More... | |
END_TEST | START_TEST (new_delete_noerror) |
END_TEST | START_TEST (setup_noerror) |
END_TEST | START_TEST (setup_nullptr) |
END_TEST | START_TEST (set_raw_noerrors) |
END_TEST | START_TEST (set_raw_errors) |
END_TEST | START_TEST (set_reordered_noerrors) |
END_TEST | START_TEST (set_reordered_errors) |
END_TEST | START_TEST (set_compressed_noerrors) |
END_TEST | START_TEST (set_compressed_errors) |
END_TEST | START_TEST (allocate_raw_noerrors) |
END_TEST | START_TEST (header_write) |
END_TEST | START_TEST (header_read) |
END_TEST Suite * | initandalloc_suite (void) |
Suite * | headerformat_suite (void) |
int | main () |
START_TEST | ( | initialize_handle_noerror | ) |
Verify handle initialization.
Tests that each member is properly initialized.
Definition at line 99 of file xrif_test_init.c.
References xrif_handle::compressed_size, xrif_handle::data_size, xrif_handle::depth, xrif_handle::difference_method, xrif_handle::frames, xrif_handle::height, xrif_handle::type_code, xrif_handle::width, and xrif_initialize_handle().
END_TEST START_TEST | ( | initialize_handle_nullptr | ) |
Verify xrif_initialize_handle returns error on NULL pointer.
Definition at line 141 of file xrif_test_init.c.
References XRIF_ERROR_NULLPTR, and xrif_initialize_handle().