diff options
Diffstat (limited to 'test/022_io_AVX_write')
| -rw-r--r-- | test/022_io_AVX_write/01_solved.in | 1 | ||||
| -rw-r--r-- | test/022_io_AVX_write/01_solved.out | 4 | ||||
| -rw-r--r-- | test/022_io_AVX_write/02_scrambled.in | 1 | ||||
| -rw-r--r-- | test/022_io_AVX_write/02_scrambled.out | 4 | ||||
| -rw-r--r-- | test/022_io_AVX_write/io_AVX_tests.c | 29 |
5 files changed, 0 insertions, 39 deletions
diff --git a/test/022_io_AVX_write/01_solved.in b/test/022_io_AVX_write/01_solved.in deleted file mode 100644 index dff224d..0000000 --- a/test/022_io_AVX_write/01_solved.in +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | UF0 UB0 DB0 DF0 UR0 UL0 DL0 DR0 FR0 FL0 BL0 BR0 UFR0 UBL0 DFL0 DBR0 UFL0 UBR0 DFR0 DBL0 | ||
diff --git a/test/022_io_AVX_write/01_solved.out b/test/022_io_AVX_write/01_solved.out deleted file mode 100644 index 9bc7c29..0000000 --- a/test/022_io_AVX_write/01_solved.out +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | _mm256_set_epi8( | ||
| 2 | 0, 0, 0, 0, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, | ||
| 3 | 0, 0, 0, 0, 0, 0, 0, 0, 7, 6, 5, 4, 3, 2, 1, 0 | ||
| 4 | ) | ||
diff --git a/test/022_io_AVX_write/02_scrambled.in b/test/022_io_AVX_write/02_scrambled.in deleted file mode 100644 index 6a05bbc..0000000 --- a/test/022_io_AVX_write/02_scrambled.in +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | FL0 DB0 UB1 FR0 UR0 DF0 UF0 BR1 UL1 BL1 DL0 DR0 DFR1 UFR1 UBR1 UFL2 DBR2 DFL0 DBL2 UBL0 | ||
diff --git a/test/022_io_AVX_write/02_scrambled.out b/test/022_io_AVX_write/02_scrambled.out deleted file mode 100644 index 7d406a2..0000000 --- a/test/022_io_AVX_write/02_scrambled.out +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | _mm256_set_epi8( | ||
| 2 | 0, 0, 0, 0, 7, 6, 26, 21, 27, 0, 3, 4, 8, 17, 2, 9, | ||
| 3 | 0, 0, 0, 0, 0, 0, 0, 0, 1, 71, 2, 67, 68, 37, 32, 38 | ||
| 4 | ) | ||
diff --git a/test/022_io_AVX_write/io_AVX_tests.c b/test/022_io_AVX_write/io_AVX_tests.c deleted file mode 100644 index 7dc944e..0000000 --- a/test/022_io_AVX_write/io_AVX_tests.c +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | #include "../test.h" | ||
| 2 | |||
| 3 | #define STRLENMAX 10000 | ||
| 4 | |||
| 5 | bool iserror(cube_t); | ||
| 6 | bool issolvable(cube_t); | ||
| 7 | cube_t readcube(char *, char *); | ||
| 8 | void writecube(char *, cube_t, char *); | ||
| 9 | |||
| 10 | int main() { | ||
| 11 | char *c, str[STRLENMAX]; | ||
| 12 | cube_t cube; | ||
| 13 | |||
| 14 | for (c = str; (*c = getchar()) != EOF; c++) ; | ||
| 15 | *c = '\0'; | ||
| 16 | |||
| 17 | cube = readcube("H48", str); | ||
| 18 | |||
| 19 | if (iserror(cube)) { | ||
| 20 | printf("Error reading cube\n"); | ||
| 21 | } else if (!issolvable(cube)) { | ||
| 22 | printf("Cube is not solvable\n"); | ||
| 23 | } else { | ||
| 24 | writecube("AVX", cube, str); | ||
| 25 | printf("%s\n", str); | ||
| 26 | } | ||
| 27 | |||
| 28 | return 0; | ||
| 29 | } | ||
