aboutsummaryrefslogtreecommitdiff
path: root/tests/fst_tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fst_tests.c')
-rw-r--r--tests/fst_tests.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/fst_tests.c b/tests/fst_tests.c
index dfaab39..1a9bedd 100644
--- a/tests/fst_tests.c
+++ b/tests/fst_tests.c
@@ -3,7 +3,8 @@
3static bool testmethod_fst_is_consistent(void *); 3static bool testmethod_fst_is_consistent(void *);
4static bool testmethod_cube_to_fst_to_cube(void *); 4static bool testmethod_cube_to_fst_to_cube(void *);
5static bool testmethod_fst_move(void *); 5static bool testmethod_fst_move(void *);
6static bool testmethod_fst_inverse(void *); static bool check_equal_and_log(Cube *, Cube *); 6static bool testmethod_fst_inverse(void *);
7static bool check_equal_and_log(Cube *, Cube *);
7static void void_to_cube(void *, Cube *); 8static void void_to_cube(void *, Cube *);
8 9
9char *algs[] = { 10char *algs[] = {
@@ -42,29 +43,29 @@ Test test_fst_inverse = {
42 .cases = (void **)algs, 43 .cases = (void **)algs,
43}; 44};
44 45
45Test *pre_init[] = { 46Test *fst_pre_init[] = {
46 &test_fst_is_consistent, 47 &test_fst_is_consistent,
47 &test_cube_to_fst_to_cube, 48 &test_cube_to_fst_to_cube,
48 NULL 49 NULL
49}; 50};
50TestSuite fst_pre_init_suite = { 51TestSuite fst_pre_init_suite = {
51 .setup = NULL, 52 .setup = NULL,
52 .tests = pre_init, 53 .tests = fst_pre_init,
53 .teardown = NULL, 54 .teardown = NULL,
54}; 55};
55 56
56Test *post_init[] = { 57Test *fst_post_init[] = {
57 &test_fst_move, 58 &test_fst_move,
58 &test_fst_inverse, 59 &test_fst_inverse,
59 NULL 60 NULL
60}; 61};
61TestSuite fst_post_init_suite = { 62TestSuite fst_post_init_suite = {
62 .setup = init_fst, 63 .setup = init_fst,
63 .tests = post_init, 64 .tests = fst_post_init,
64 .teardown = NULL, 65 .teardown = NULL,
65}; 66};
66 67
67TestSuite *fst_testsuites[] = { 68TestSuite *fst_suites[] = {
68 &fst_pre_init_suite, 69 &fst_pre_init_suite,
69 &fst_post_init_suite, 70 &fst_post_init_suite,
70 NULL 71 NULL

Generated with cgit - Back to sebastiano.tronto.net