unit-tests: Completed coverage of hasher, crypter and libnttfft
This commit is contained in:
committed by
Tobias Brunner
parent
94ae1ac18e
commit
e9c2b6658b
@@ -130,6 +130,12 @@ START_TEST(test_ntt_fft_speed)
|
||||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST(test_ntt_fft_init)
|
||||
{
|
||||
libnttfft_init();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
Suite *ntt_fft_suite_create()
|
||||
{
|
||||
Suite *s;
|
||||
@@ -137,6 +143,10 @@ Suite *ntt_fft_suite_create()
|
||||
|
||||
s = suite_create("ntt_fft");
|
||||
|
||||
tc = tcase_create("init");
|
||||
tcase_add_test(tc, test_ntt_fft_init);
|
||||
suite_add_tcase(s, tc);
|
||||
|
||||
tc = tcase_create("impulse");
|
||||
tcase_add_loop_test(tc, test_ntt_fft_impulse, 0, countof(fft_params));
|
||||
suite_add_tcase(s, tc);
|
||||
|
||||
Reference in New Issue
Block a user