int main()
{
	 RUN_TEST(test_read_header());
	 RUN_TEST(test_write_header());

	 return UT_SUCCESS;
}
Beispiel #2
0
int main(){

	test8();
	test16();
	test32();
	test_converts();
	test_read_header();

	return 0;
}
Beispiel #3
0
void test_odb_loose__read_header(void)
{
	test_read_header(&commit);
	test_read_header(&tree);
	test_read_header(&tag);
	test_read_header(&zero);
	test_read_header(&one);
	test_read_header(&two);
	test_read_header(&some);
}
Beispiel #4
0
static void do_tests()
{
	if (global_args.isdecompress) {
		test_init_reader();
		test_read_header();
		test_is_in_huffman_code();
		test_decode_next_litlen();
		/*test_get_cyclic_queue();*/
		test_huffman_codes();
		test_new_bst();
		/*test_get_substr_len_bst();*/
		/*test_insert_bst();*/
		/*test_delete_bst();*/
		/*test_new_search_cyclic_queue();*/
		test_index_to_ptr();
		/*test_insert_bst();*/
		test_ptr_to_index();
		test_index_to_ptr();
		printf("end of tests\n");
	}
}