aboutsummaryrefslogtreecommitdiff
path: root/test/023_io_LST_write
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:17:03 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-04-22 14:17:03 +0200
commitac652bb6fb45099008e862e3ced650299dc3ebb7 (patch)
tree12fb1c902c271fbeac41c4ee416cf1cd76b16fd7 /test/023_io_LST_write
parent71e104d84b3538e15f27df79b151e6b49cbad1eb (diff)
parente391c4624055138f075c0e5772ccaf8ede094b5a (diff)
downloadnissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.tar.gz
nissy-core-ac652bb6fb45099008e862e3ced650299dc3ebb7.zip
Merge branch 'master' into extend_moves
Diffstat (limited to 'test/023_io_LST_write')
-rw-r--r--test/023_io_LST_write/01_solved.in1
-rw-r--r--test/023_io_LST_write/01_solved.out1
-rw-r--r--test/023_io_LST_write/02_scrambled.in1
-rw-r--r--test/023_io_LST_write/02_scrambled.out1
-rw-r--r--test/023_io_LST_write/io_LST_write_tests.c22
5 files changed, 0 insertions, 26 deletions
diff --git a/test/023_io_LST_write/01_solved.in b/test/023_io_LST_write/01_solved.in
deleted file mode 100644
index dff224d..0000000
--- a/test/023_io_LST_write/01_solved.in
+++ /dev/null
@@ -1 +0,0 @@
1UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0
diff --git a/test/023_io_LST_write/01_solved.out b/test/023_io_LST_write/01_solved.out
deleted file mode 100644
index c5b394b..0000000
--- a/test/023_io_LST_write/01_solved.out
+++ /dev/null
@@ -1 +0,0 @@
10, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
diff --git a/test/023_io_LST_write/02_scrambled.in b/test/023_io_LST_write/02_scrambled.in
deleted file mode 100644
index 6a05bbc..0000000
--- a/test/023_io_LST_write/02_scrambled.in
+++ /dev/null
@@ -1 +0,0 @@
1FL0 DB0 UB1 FR0 UR0 DF0 UF0 BR1 UL1 BL1 DL0 DR0 DFR1 UFR1 UBR1 UFL2 DBR2 DFL0 DBL2 UBL0
diff --git a/test/023_io_LST_write/02_scrambled.out b/test/023_io_LST_write/02_scrambled.out
deleted file mode 100644
index 9fcb603..0000000
--- a/test/023_io_LST_write/02_scrambled.out
+++ /dev/null
@@ -1 +0,0 @@
138, 32, 37, 68, 67, 2, 71, 1, 9, 2, 17, 8, 4, 3, 0, 27, 21, 26, 6, 7
diff --git a/test/023_io_LST_write/io_LST_write_tests.c b/test/023_io_LST_write/io_LST_write_tests.c
deleted file mode 100644
index 363bc6d..0000000
--- a/test/023_io_LST_write/io_LST_write_tests.c
+++ /dev/null
@@ -1,22 +0,0 @@
1#include "../test.h"
2
3void run(void) {
4 char str[STRLENMAX], *aux;
5 cube_t cube;
6
7 aux = str;
8 while (fgets(aux, STRLENMAX, stdin) != NULL)
9 while (*aux != '\n')
10 aux++;
11
12 cube = readcube("H48", str);
13
14 if (iserror(cube)) {
15 printf("Error reading cube\n");
16 } else if (!issolvable(cube)) {
17 printf("Cube is not solvable\n");
18 } else {
19 writecube("LST", cube, STRLENMAX, str);
20 printf("%s\n", str);
21 }
22}

Generated with cgit - Back to sebastiano.tronto.net