diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/00_garbage.in (renamed from test/010_io_H48/00_garbage.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/00_garbage.out (renamed from test/010_io_H48/00_garbage.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/01_solved_oneline.in (renamed from test/010_io_H48/01_solved_oneline.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/01_solved_oneline.out (renamed from test/010_io_H48/01_solved_oneline.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/02_solved_oneline_whitespace.in (renamed from test/010_io_H48/02_solved_oneline_whitespace.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/02_solved_oneline_whitespace.out (renamed from test/010_io_H48/02_solved_oneline_whitespace.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/03_solved_multiline.in (renamed from test/010_io_H48/03_solved_multiline.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/03_solved_multiline.out (renamed from test/010_io_H48/03_solved_multiline.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/04_unsolvable_ep.in (renamed from test/010_io_H48/04_unsolvable_ep.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/04_unsolvable_ep.out (renamed from test/010_io_H48/04_unsolvable_ep.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/05_unsolvable_eo.in (renamed from test/010_io_H48/05_unsolvable_eo.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/05_unsolvable_eo.out (renamed from test/010_io_H48/05_unsolvable_eo.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/06_unsolvable_cp.in (renamed from test/010_io_H48/06_unsolvable_cp.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/06_unsolvable_cp.out (renamed from test/010_io_H48/06_unsolvable_cp.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/07_unsolvable_co.in (renamed from test/010_io_H48/07_unsolvable_co.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/07_unsolvable_co.out (renamed from test/010_io_H48/07_unsolvable_co.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/08_unsolved.in (renamed from test/010_io_H48/08_unsolved.in) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/08_unsolved.out (renamed from test/010_io_H48/08_unsolved.out) | 0 | ||||
| -rw-r--r-- | test/010_io_H48_read_write/io_H48_tests.c (renamed from test/010_io_H48/io_H48_tests.c) | 0 | ||||
| -rw-r--r-- | test/011_io_SRC_write/01_solved.in (renamed from test/011_io_SRC/01_solved.in) | 0 | ||||
| -rw-r--r-- | test/011_io_SRC_write/01_solved.out (renamed from test/011_io_SRC/01_solved.out) | 0 | ||||
| -rw-r--r-- | test/011_io_SRC_write/02_scrambled.in | 1 | ||||
| -rw-r--r-- | test/011_io_SRC_write/02_scrambled.out | 4 | ||||
| -rw-r--r-- | test/011_io_SRC_write/io_SRC_tests.c (renamed from test/011_io_SRC/io_SRC_tests.c) | 0 | ||||
| -rw-r--r-- | utils/FORMAT.txt | 2 |
26 files changed, 8 insertions, 3 deletions
| @@ -4,8 +4,8 @@ Work in progress. | |||
| 4 | 4 | ||
| 5 | TODO: | 5 | TODO: |
| 6 | 6 | ||
| 7 | * implement writecubesrc() to make it easy to implement transformations | 7 | * test SRC: scrambled cube, rename directory in io_SRC_write |
| 8 | * implement transformations | 8 | * implement transformations (use write to SRC to make life easier) |
| 9 | * setup benchmarks | 9 | * setup benchmarks |
| 10 | * coordinates: co, eo, epsep, cpsep_sym, cocpsep_sym, cphtr_sym, cocphtr_sym | 10 | * coordinates: co, eo, epsep, cpsep_sym, cocpsep_sym, cphtr_sym, cocphtr_sym |
| 11 | * pruning tables (1 bit per entry + fallback) | 11 | * pruning tables (1 bit per entry + fallback) |
diff --git a/test/010_io_H48/00_garbage.in b/test/010_io_H48_read_write/00_garbage.in index 9ac203a..9ac203a 100644 --- a/test/010_io_H48/00_garbage.in +++ b/test/010_io_H48_read_write/00_garbage.in | |||
diff --git a/test/010_io_H48/00_garbage.out b/test/010_io_H48_read_write/00_garbage.out index 5b9114e..5b9114e 100644 --- a/test/010_io_H48/00_garbage.out +++ b/test/010_io_H48_read_write/00_garbage.out | |||
diff --git a/test/010_io_H48/01_solved_oneline.in b/test/010_io_H48_read_write/01_solved_oneline.in index dff224d..dff224d 100644 --- a/test/010_io_H48/01_solved_oneline.in +++ b/test/010_io_H48_read_write/01_solved_oneline.in | |||
diff --git a/test/010_io_H48/01_solved_oneline.out b/test/010_io_H48_read_write/01_solved_oneline.out index dff224d..dff224d 100644 --- a/test/010_io_H48/01_solved_oneline.out +++ b/test/010_io_H48_read_write/01_solved_oneline.out | |||
diff --git a/test/010_io_H48/02_solved_oneline_whitespace.in b/test/010_io_H48_read_write/02_solved_oneline_whitespace.in index 5d10368..5d10368 100644 --- a/test/010_io_H48/02_solved_oneline_whitespace.in +++ b/test/010_io_H48_read_write/02_solved_oneline_whitespace.in | |||
diff --git a/test/010_io_H48/02_solved_oneline_whitespace.out b/test/010_io_H48_read_write/02_solved_oneline_whitespace.out index dff224d..dff224d 100644 --- a/test/010_io_H48/02_solved_oneline_whitespace.out +++ b/test/010_io_H48_read_write/02_solved_oneline_whitespace.out | |||
diff --git a/test/010_io_H48/03_solved_multiline.in b/test/010_io_H48_read_write/03_solved_multiline.in index 9f9652b..9f9652b 100644 --- a/test/010_io_H48/03_solved_multiline.in +++ b/test/010_io_H48_read_write/03_solved_multiline.in | |||
diff --git a/test/010_io_H48/03_solved_multiline.out b/test/010_io_H48_read_write/03_solved_multiline.out index dff224d..dff224d 100644 --- a/test/010_io_H48/03_solved_multiline.out +++ b/test/010_io_H48_read_write/03_solved_multiline.out | |||
diff --git a/test/010_io_H48/04_unsolvable_ep.in b/test/010_io_H48_read_write/04_unsolvable_ep.in index 8483962..8483962 100644 --- a/test/010_io_H48/04_unsolvable_ep.in +++ b/test/010_io_H48_read_write/04_unsolvable_ep.in | |||
diff --git a/test/010_io_H48/04_unsolvable_ep.out b/test/010_io_H48_read_write/04_unsolvable_ep.out index e35c6e4..e35c6e4 100644 --- a/test/010_io_H48/04_unsolvable_ep.out +++ b/test/010_io_H48_read_write/04_unsolvable_ep.out | |||
diff --git a/test/010_io_H48/05_unsolvable_eo.in b/test/010_io_H48_read_write/05_unsolvable_eo.in index a92089d..a92089d 100644 --- a/test/010_io_H48/05_unsolvable_eo.in +++ b/test/010_io_H48_read_write/05_unsolvable_eo.in | |||
diff --git a/test/010_io_H48/05_unsolvable_eo.out b/test/010_io_H48_read_write/05_unsolvable_eo.out index e35c6e4..e35c6e4 100644 --- a/test/010_io_H48/05_unsolvable_eo.out +++ b/test/010_io_H48_read_write/05_unsolvable_eo.out | |||
diff --git a/test/010_io_H48/06_unsolvable_cp.in b/test/010_io_H48_read_write/06_unsolvable_cp.in index 2085dd5..2085dd5 100644 --- a/test/010_io_H48/06_unsolvable_cp.in +++ b/test/010_io_H48_read_write/06_unsolvable_cp.in | |||
diff --git a/test/010_io_H48/06_unsolvable_cp.out b/test/010_io_H48_read_write/06_unsolvable_cp.out index e35c6e4..e35c6e4 100644 --- a/test/010_io_H48/06_unsolvable_cp.out +++ b/test/010_io_H48_read_write/06_unsolvable_cp.out | |||
diff --git a/test/010_io_H48/07_unsolvable_co.in b/test/010_io_H48_read_write/07_unsolvable_co.in index abd74e2..abd74e2 100644 --- a/test/010_io_H48/07_unsolvable_co.in +++ b/test/010_io_H48_read_write/07_unsolvable_co.in | |||
diff --git a/test/010_io_H48/07_unsolvable_co.out b/test/010_io_H48_read_write/07_unsolvable_co.out index e35c6e4..e35c6e4 100644 --- a/test/010_io_H48/07_unsolvable_co.out +++ b/test/010_io_H48_read_write/07_unsolvable_co.out | |||
diff --git a/test/010_io_H48/08_unsolved.in b/test/010_io_H48_read_write/08_unsolved.in index c992ce7..c992ce7 100644 --- a/test/010_io_H48/08_unsolved.in +++ b/test/010_io_H48_read_write/08_unsolved.in | |||
diff --git a/test/010_io_H48/08_unsolved.out b/test/010_io_H48_read_write/08_unsolved.out index 8c132cf..8c132cf 100644 --- a/test/010_io_H48/08_unsolved.out +++ b/test/010_io_H48_read_write/08_unsolved.out | |||
diff --git a/test/010_io_H48/io_H48_tests.c b/test/010_io_H48_read_write/io_H48_tests.c index 7c3978e..7c3978e 100644 --- a/test/010_io_H48/io_H48_tests.c +++ b/test/010_io_H48_read_write/io_H48_tests.c | |||
diff --git a/test/011_io_SRC/01_solved.in b/test/011_io_SRC_write/01_solved.in index dff224d..dff224d 100644 --- a/test/011_io_SRC/01_solved.in +++ b/test/011_io_SRC_write/01_solved.in | |||
diff --git a/test/011_io_SRC/01_solved.out b/test/011_io_SRC_write/01_solved.out index 3853027..3853027 100644 --- a/test/011_io_SRC/01_solved.out +++ b/test/011_io_SRC_write/01_solved.out | |||
diff --git a/test/011_io_SRC_write/02_scrambled.in b/test/011_io_SRC_write/02_scrambled.in new file mode 100644 index 0000000..6a05bbc --- /dev/null +++ b/test/011_io_SRC_write/02_scrambled.in | |||
| @@ -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/011_io_SRC_write/02_scrambled.out b/test/011_io_SRC_write/02_scrambled.out new file mode 100644 index 0000000..44d3d04 --- /dev/null +++ b/test/011_io_SRC_write/02_scrambled.out | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | { | ||
| 2 | .c = {38, 32, 37, 68, 67, 2, 71, 1}, | ||
| 3 | .e = {9, 2, 17, 8, 4, 3, 0, 27, 21, 26, 6, 7} | ||
| 4 | } | ||
diff --git a/test/011_io_SRC/io_SRC_tests.c b/test/011_io_SRC_write/io_SRC_tests.c index f454b6f..f454b6f 100644 --- a/test/011_io_SRC/io_SRC_tests.c +++ b/test/011_io_SRC_write/io_SRC_tests.c | |||
diff --git a/utils/FORMAT.txt b/utils/FORMAT.txt index 091104c..5bfb01e 100644 --- a/utils/FORMAT.txt +++ b/utils/FORMAT.txt | |||
| @@ -25,7 +25,7 @@ The cube after the moves R'U'F looks like this: | |||
| 25 | FL1 BR0 DB0 UR1 UF0 UB0 DL0 FR0 UL1 DF1 BL0 DR0 | 25 | FL1 BR0 DB0 UR1 UF0 UB0 DL0 FR0 UL1 DF1 BL0 DR0 |
| 26 | UBL1 DBR1 UFR2 DFR2 DFL2 UBL2 UFL2 DBL0 | 26 | UBL1 DBR1 UFR2 DFR2 DFL2 UBL2 UFL2 DBL0 |
| 27 | 27 | ||
| 28 | # SRC - representation of the object in C code (write) | 28 | # SRC - representation of the object in C code for cube_array (write) |
| 29 | 29 | ||
| 30 | The exact format depends on the internal cube representation. It is | 30 | The exact format depends on the internal cube representation. It is |
| 31 | guaranteed that, if OUT is the output in this format, the line | 31 | guaranteed that, if OUT is the output in this format, the line |
