aboutsummaryrefslogtreecommitdiff
path: root/tests/fst_tests.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-02-04 17:26:32 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-02-04 17:26:32 +0100
commit092270834eac54ed33e634494f9f38ba7fd38fd4 (patch)
tree937c18de782d01209f06ae5d4293737bc39a9d20 /tests/fst_tests.c
parent9daff8c1625d4cbb5500a50fbfe83b7ecba06f8f (diff)
downloadnissy-092270834eac54ed33e634494f9f38ba7fd38fd4.tar.gz
nissy-092270834eac54ed33e634494f9f38ba7fd38fd4.zip
Some improvements to test suite, ready to go
Diffstat (limited to 'tests/fst_tests.c')
-rw-r--r--tests/fst_tests.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/fst_tests.c b/tests/fst_tests.c
index 684a479..dfaab39 100644
--- a/tests/fst_tests.c
+++ b/tests/fst_tests.c
@@ -3,9 +3,7 @@
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 *); 6static bool testmethod_fst_inverse(void *); static bool check_equal_and_log(Cube *, Cube *);
7
8static bool check_equal_and_log(Cube *, Cube *);
9static void void_to_cube(void *, Cube *); 7static void void_to_cube(void *, Cube *);
10 8
11char *algs[] = { 9char *algs[] = {
@@ -66,6 +64,12 @@ TestSuite fst_post_init_suite = {
66 .teardown = NULL, 64 .teardown = NULL,
67}; 65};
68 66
67TestSuite *fst_testsuites[] = {
68 &fst_pre_init_suite,
69 &fst_post_init_suite,
70 NULL
71};
72
69static bool 73static bool
70check_equal_and_log(Cube *c, Cube *d) 74check_equal_and_log(Cube *c, Cube *d)
71{ 75{

Generated with cgit - Back to sebastiano.tronto.net