aboutsummaryrefslogtreecommitdiff
path: root/test/00_basic
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-13 23:47:00 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-13 23:47:00 +0100
commit41e31b84a9adeae0b6bdbc4c9438bfa5e782c9da (patch)
treeb6e9ae4db711e6b902ce5ae0f04e0b83c193cd26 /test/00_basic
parent4444e53eaadf33aa309a40849730be332ca6d0de (diff)
downloadnissy-core-41e31b84a9adeae0b6bdbc4c9438bfa5e782c9da.tar.gz
nissy-core-41e31b84a9adeae0b6bdbc4c9438bfa5e782c9da.zip
Test cleanup
Diffstat (limited to 'test/00_basic')
-rw-r--r--test/00_basic/basic_tests.c13
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 3bool issolved(cube_t);
7#include <immintrin.h> 4bool equal(cube_t, cube_t);
8#endif
9
10#include "../../cube.h"
11 5
12void 6void
13check(cube_t cube, char *name) 7check(cube_t cube, char *name)
@@ -19,7 +13,6 @@ check(cube_t cube, char *name)
19void 13void
20check2(cube_t cube1, char *name1, cube_t cube2, char *name2) 14check2(cube_t cube1, char *name1, cube_t cube2, char *name2)
21{ 15{
22fprintf(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}

Generated with cgit - Back to sebastiano.tronto.net