xrif
A fast lossless compression system
xrif_test_init.c File Reference

Tests of xrif initialization. More...

Tests of xrif initialization.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file xrif_test_init.c.

#include <check.h>
#include <stdlib.h>
#include <stdio.h>
#include "../src/xrif.h"
Include dependency graph for 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 ()
 

Function Documentation

◆ START_TEST() [1/2]

START_TEST ( initialize_handle_noerror  )

◆ START_TEST() [2/2]

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().