|
|
@ -45,16 +45,6 @@ START_TEST(read_fn_test) { |
|
|
|
fclose(s); |
|
|
|
fclose(s); |
|
|
|
} END_TEST |
|
|
|
} END_TEST |
|
|
|
|
|
|
|
|
|
|
|
START_TEST(set_reader_macro_test) { |
|
|
|
|
|
|
|
ck_assert_uint_eq(set_reader_macro(69, 420), T); |
|
|
|
|
|
|
|
/* ck_assert_uint_eq(table_get(READTABLE, 69), 420); */ |
|
|
|
|
|
|
|
} END_TEST |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
START_TEST(set_reader_macro_fn_test) { |
|
|
|
|
|
|
|
ck_assert_uint_eq(set_reader_macro_fn(LIST(69, 420), NIL), T); |
|
|
|
|
|
|
|
/* ck_assert_uint_eq(table_get(READTABLE, 69), 420); */ |
|
|
|
|
|
|
|
} END_TEST |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
START_TEST(read_char_macro_fn_test) { |
|
|
|
START_TEST(read_char_macro_fn_test) { |
|
|
|
FILE* s; |
|
|
|
FILE* s; |
|
|
|
|
|
|
|
|
|
|
@ -142,8 +132,6 @@ Suite* make_reader_test_suite(void) { |
|
|
|
tcase_add_test(tc1_1, peek_char_fn_test); |
|
|
|
tcase_add_test(tc1_1, peek_char_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_char_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_char_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_fn_test); |
|
|
|
tcase_add_test(tc1_1, set_reader_macro_test); |
|
|
|
|
|
|
|
tcase_add_test(tc1_1, set_reader_macro_fn_test); |
|
|
|
|
|
|
|
tcase_add_test(tc1_1, read_char_macro_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_char_macro_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_list_macro_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_list_macro_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_right_paren_macro_fn_test); |
|
|
|
tcase_add_test(tc1_1, read_right_paren_macro_fn_test); |
|
|
|