Skip to content

Commit

Permalink
[feat] : file input samples (valid&invalid)
Browse files Browse the repository at this point in the history
  • Loading branch information
aallali committed Apr 19, 2023
1 parent 74eaf37 commit d06f0ba
Show file tree
Hide file tree
Showing 23 changed files with 116 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
adf dsff # this is a comment
3
3 2 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3
3 d 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
s
3 3 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3
3 2
1 4
8 7
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3
3 2 6 5
1 4 0 2
8 7 5 1
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

# this is a comment
3
3 2 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# this is a comment
3

3 2 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3 5
3 2 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
2
3 2 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3
3 2 6
1 4 0
8 7 5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3
3 2 6
1 4 0
8 7 7
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# this is a comment
3
3 2 6
1 4 0
8 7 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# this is a comment
3
3 2 6
1 4 0
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# this is a comment
3
3 2 6
1 4 0
8 7 5
8 7 5
5 changes: 5 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/3-1-s.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This puzzle is solvable
3
0 2 8
1 4 6
5 7 3
5 changes: 5 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/3-1-u.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This puzzle is unsolvable
3
1 2 3
4 5 6
0 8 7
5 changes: 5 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/3-2-s.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This puzzle is solvable
3
4 6 5
2 0 1
8 7 3
5 changes: 5 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/3-3-s.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This puzzle is solvable
3
8 4 7
5 2 6
3 1 0
6 changes: 6 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/4-1-s.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This puzzle is solvable
4
2 11 5 8
14 7 3 0
15 4 1 9
6 12 10 13
6 changes: 6 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/4-1-u.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This puzzle is unsolvable
4
3 9 1 15
14 11 4 6
13 0 10 12
2 7 8 5
6 changes: 6 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/4-2-s.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This puzzle is solvable
4
6 2 11 8
15 10 9 7
5 0 3 1
4 12 14 13
6 changes: 6 additions & 0 deletions n-puzzle-engine/src/__test__/inputs/valid_fields/4-2-u.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This puzzle is unsolvable
4
12 14 4 2
5 6 9 3
1 0 13 11
7 15 10 8

0 comments on commit d06f0ba

Please sign in to comment.