Add write mode tests
Signed-off-by: Pradana AUMARS <paumars@courrier.dev>
This commit is contained in:
parent
d6f0b0260e
commit
27fdceb684
@ -34,6 +34,7 @@ START_TEST(test_easycsv_init_write_2)
|
|||||||
csv = easycsv_init(SAMPLE2_PATH, EASYCSV_W);
|
csv = easycsv_init(SAMPLE2_PATH, EASYCSV_W);
|
||||||
ck_assert_ptr_nonnull(csv);
|
ck_assert_ptr_nonnull(csv);
|
||||||
easycsv_free(csv);
|
easycsv_free(csv);
|
||||||
|
remove(SAMPLE2_PATH);
|
||||||
}
|
}
|
||||||
|
|
||||||
Suite*
|
Suite*
|
||||||
@ -52,7 +53,7 @@ easycsv_constructor_suite(void)
|
|||||||
tcase_add_test(tc_write, test_easycsv_init_write_2);
|
tcase_add_test(tc_write, test_easycsv_init_write_2);
|
||||||
|
|
||||||
suite_add_tcase(s, tc_read);
|
suite_add_tcase(s, tc_read);
|
||||||
//suite_add_tcase(s, tc_write);
|
suite_add_tcase(s, tc_write);
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user