diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-22 16:12:21 +0200 |
| commit | bab22e1946a656088804b61cf765461b48744971 (patch) | |
| tree | 43ae3798e5c2f4fc63e68df72d134e742fcaf834 /test/020_io_cube_read_write | |
| parent | 93522effba2f200257141189de5925a23fca93b8 (diff) | |
| download | nissy-core-bab22e1946a656088804b61cf765461b48744971.tar.gz nissy-core-bab22e1946a656088804b61cf765461b48744971.zip | |
Update tests for oriented_cube_t
Diffstat (limited to 'test/020_io_cube_read_write')
| -rw-r--r-- | test/020_io_cube_read_write/01_solved_oriented.in (renamed from test/020_io_cube_read_write/01_solved_oneline.in) | 0 | ||||
| -rw-r--r-- | test/020_io_cube_read_write/01_solved_oriented.out (renamed from test/020_io_cube_read_write/01_solved_oneline.out) | 0 | ||||
| -rw-r--r-- | test/020_io_cube_read_write/02_solve_misoriented.in | 1 | ||||
| -rw-r--r-- | test/020_io_cube_read_write/02_solve_misoriented.out | 1 | ||||
| -rw-r--r-- | test/020_io_cube_read_write/io_cube_tests.c | 2 |
5 files changed, 3 insertions, 1 deletions
diff --git a/test/020_io_cube_read_write/01_solved_oneline.in b/test/020_io_cube_read_write/01_solved_oriented.in index 5aa6ba7..5aa6ba7 100644 --- a/test/020_io_cube_read_write/01_solved_oneline.in +++ b/test/020_io_cube_read_write/01_solved_oriented.in | |||
diff --git a/test/020_io_cube_read_write/01_solved_oneline.out b/test/020_io_cube_read_write/01_solved_oriented.out index 5aa6ba7..5aa6ba7 100644 --- a/test/020_io_cube_read_write/01_solved_oneline.out +++ b/test/020_io_cube_read_write/01_solved_oriented.out | |||
diff --git a/test/020_io_cube_read_write/02_solve_misoriented.in b/test/020_io_cube_read_write/02_solve_misoriented.in new file mode 100644 index 0000000..f3279c5 --- /dev/null +++ b/test/020_io_cube_read_write/02_solve_misoriented.in | |||
| @@ -0,0 +1 @@ | |||
| ABCDEFGH=ABCDEFGHIJKL=L | |||
diff --git a/test/020_io_cube_read_write/02_solve_misoriented.out b/test/020_io_cube_read_write/02_solve_misoriented.out new file mode 100644 index 0000000..f3279c5 --- /dev/null +++ b/test/020_io_cube_read_write/02_solve_misoriented.out | |||
| @@ -0,0 +1 @@ | |||
| ABCDEFGH=ABCDEFGHIJKL=L | |||
diff --git a/test/020_io_cube_read_write/io_cube_tests.c b/test/020_io_cube_read_write/io_cube_tests.c index c9df1a9..3d7601c 100644 --- a/test/020_io_cube_read_write/io_cube_tests.c +++ b/test/020_io_cube_read_write/io_cube_tests.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | void run(void) { | 3 | void run(void) { |
| 4 | char str[STRLENMAX], *aux; | 4 | char str[STRLENMAX], *aux; |
| 5 | cube_t cube; | 5 | oriented_cube_t cube; |
| 6 | 6 | ||
| 7 | aux = str; | 7 | aux = str; |
| 8 | while (fgets(aux, STRLENMAX, stdin) != NULL) | 8 | while (fgets(aux, STRLENMAX, stdin) != NULL) |
