diff options
Diffstat (limited to 'test/00_basic')
| -rw-r--r-- | test/00_basic/basic_tests.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/test/00_basic/basic_tests.c b/test/00_basic/basic_tests.c index af0f2cd..17f1b2b 100644 --- a/test/00_basic/basic_tests.c +++ b/test/00_basic/basic_tests.c | |||
| @@ -1,13 +1,7 @@ | |||
| 1 | #include <stdbool.h> | 1 | #include "../test.h" |
| 2 | #include <stdint.h> | ||
| 3 | #include <stdio.h> | ||
| 4 | #include <string.h> | ||
| 5 | 2 | ||
| 6 | #ifdef CUBE_AVX2 | 3 | bool issolved(cube_t); |
| 7 | #include <immintrin.h> | 4 | bool equal(cube_t, cube_t); |
| 8 | #endif | ||
| 9 | |||
| 10 | #include "../../cube.h" | ||
| 11 | 5 | ||
| 12 | void | 6 | void |
| 13 | check(cube_t cube, char *name) | 7 | check(cube_t cube, char *name) |
| @@ -19,7 +13,6 @@ check(cube_t cube, char *name) | |||
| 19 | void | 13 | void |
| 20 | check2(cube_t cube1, char *name1, cube_t cube2, char *name2) | 14 | check2(cube_t cube1, char *name1, cube_t cube2, char *name2) |
| 21 | { | 15 | { |
| 22 | fprintf(stderr, "check2 %s %s\n", name1, name2); | ||
| 23 | printf("%s and %s are%s equal\n", name1, name2, | 16 | printf("%s and %s are%s equal\n", name1, name2, |
| 24 | equal(cube1, cube2) ? "" : " NOT"); | 17 | equal(cube1, cube2) ? "" : " NOT"); |
| 25 | } | 18 | } |
