aboutsummaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
authorSopár Adrián <adrian.sopar@protonmail.com>2024-06-20 09:28:14 +0200
committerSopár Adrián <adrian.sopar@protonmail.com>2024-06-20 09:28:14 +0200
commit74ea6dc86646cee9915292d73d8c7afef01ef3e0 (patch)
tree9a58866f7765dad8ba56f1f40b1fa031e9d2687d /tests/test.c
First commit. This is mostly the state of the project as I left it around the end of 2019.HEADmaster
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/test.c b/tests/test.c
new file mode 100644
index 0000000..f72fd23
--- /dev/null
+++ b/tests/test.c
@@ -0,0 +1,17 @@
+#include <criterion/criterion.h>
+#include <criterion/theories.h>
+
+#define A \
+ { \
+ DataPoints(int, 0, 1, 2) \
+ }
+
+TheoryDataPoints(maze, generate) = A;
+TheoryDataPoints(maze, solve) = A;
+
+Theory((int seed), maze, generate)
+{
+ srand(seed);
+}
+
+Theory((int seed), maze, solve) {} \ No newline at end of file