aboutsummaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-06-19 15:06:11 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2023-06-19 15:06:11 +0200
commitc5dfc897160bc9bbc6a91c77b5d58d421fd1cfe1 (patch)
treead73b01c37697c8b7392c85ffc7a02fb6a08e5f6 /test/basic
parent7e9afaa14ca293a7e9d5a76af36d9a0aecbb031d (diff)
downloadnissy-core-c5dfc897160bc9bbc6a91c77b5d58d421fd1cfe1.tar.gz
nissy-core-c5dfc897160bc9bbc6a91c77b5d58d421fd1cfe1.zip
Renamed test folders to keep order
Diffstat (limited to 'test/basic')
-rw-r--r--test/basic/all.in0
-rw-r--r--test/basic/all.out4
-rw-r--r--test/basic/basic_tests.c19
3 files changed, 0 insertions, 23 deletions
diff --git a/test/basic/all.in b/test/basic/all.in
deleted file mode 100644
index e69de29..0000000
--- a/test/basic/all.in
+++ /dev/null
diff --git a/test/basic/all.out b/test/basic/all.out
deleted file mode 100644
index d77f7f4..0000000
--- a/test/basic/all.out
+++ /dev/null
@@ -1,4 +0,0 @@
1Solved is consistent
2Solved is solved
3Zero is NOT consistent
4Zero is NOT solved
diff --git a/test/basic/basic_tests.c b/test/basic/basic_tests.c
deleted file mode 100644
index cc2a55c..0000000
--- a/test/basic/basic_tests.c
+++ /dev/null
@@ -1,19 +0,0 @@
1#include <stdbool.h>
2#include <stdint.h>
3#include <stdio.h>
4
5#include "../../src/cube.h"
6
7int main() {
8 cube_t z, s;
9
10 s = solvedcube;
11 printf("Solved %s consistent\n", isconsistent(s) ? "is" : "is NOT");
12 printf("Solved %s solved\n", issolved(s) ? "is" : "is NOT");
13
14 z = (cube_t){0};
15 printf("Zero %s consistent\n", isconsistent(z) ? "is" : "is NOT");
16 printf("Zero %s solved\n", issolved(z) ? "is" : "is NOT");
17
18 return 0;
19}

Generated with cgit - Back to sebastiano.tronto.net