aboutsummaryrefslogtreecommitdiff
path: root/test/032_countmoves/countmoves_tests.c
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-23 12:26:52 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-23 12:26:52 +0200
commitd969dc0ad57d3e1e346df719cf9f2708ee87d2e7 (patch)
treefefabeab15041177dc2458079664c358e4406a51 /test/032_countmoves/countmoves_tests.c
parent6f750160507b87c9ea31899c0199e9b336e8ddae (diff)
downloadnissy-core-d969dc0ad57d3e1e346df719cf9f2708ee87d2e7.tar.gz
nissy-core-d969dc0ad57d3e1e346df719cf9f2708ee87d2e7.zip
Almost added support for wide moves, only solve missing
Diffstat (limited to 'test/032_countmoves/countmoves_tests.c')
-rw-r--r--test/032_countmoves/countmoves_tests.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/032_countmoves/countmoves_tests.c b/test/032_countmoves/countmoves_tests.c
new file mode 100644
index 0000000..b2c9946
--- /dev/null
+++ b/test/032_countmoves/countmoves_tests.c
@@ -0,0 +1,11 @@
1#include "../test.h"
2
3int64_t countmoves(const char *);
4
5void run(void) {
6 char movestr[STRLENMAX];
7
8 fgets(movestr, STRLENMAX, stdin);
9
10 printf("%" PRId64 "\n", countmoves(movestr));
11}

Generated with cgit - Back to sebastiano.tronto.net