First version with working test (read and print file)

This commit is contained in:
Manzovince
2019-04-14 12:15:25 +02:00
parent 1ce59774b8
commit 481d683467
28 changed files with 637 additions and 13 deletions

4
samples/42 Normal file
View File

@@ -0,0 +1,4 @@
4242
4242
4242
4242

19
samples/Non_valide Normal file
View File

@@ -0,0 +1,19 @@
...#
...#
...#
...#
....
....
....
####
.###
...E
....
....
####
####
####
####

19
samples/Valide1 Normal file
View File

@@ -0,0 +1,19 @@
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....

BIN
samples/backslash_0 Normal file

Binary file not shown.

4
samples/bad_test Normal file
View File

@@ -0,0 +1,4 @@
.#..
.#..
###.
....

114
samples/difficile Normal file
View File

@@ -0,0 +1,114 @@
....
....
..##
.##.
....
.##.
..#.
..#.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
###.
.#..
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
.###
..#.
....
....
....
..##
.##.
....
....
..##
.##.
..#.
..#.
..#.
..#.
....
....
..##
.##.
....
....
..##
.##.
....
..#.
..#.
..##
....
....
..##
.##.
....
....
..##
.##.
....
....
####
....

114
samples/difficile_ou_pas Normal file
View File

@@ -0,0 +1,114 @@
....
....
..##
.##.
....
.##.
..#.
..#.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
###.
.#..
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
.###
..#.
....
....
....
..##
.##.
....
....
..##
.##.
..#.
..#.
..#.
..#.
....
....
..##
.##.
....
....
..##
.##.
....
..#.
..#.
..##
....
....
..##
.##.
....
....
..##
.##.
....
....
####
....iskjdslkfsljklfdjk

0
samples/empty Normal file
View File

19
samples/full Normal file
View File

@@ -0,0 +1,19 @@
###.
#...
....
....
....
....
#...
###.
....
.##.
.##.
....
...#
...#
...#
...#

20
samples/invalid_sample Normal file
View File

@@ -0,0 +1,20 @@
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....

1
samples/newline Normal file
View File

@@ -0,0 +1 @@

4
samples/one Normal file
View File

@@ -0,0 +1,4 @@
....
....
....
####

4
samples/square Normal file
View File

@@ -0,0 +1,4 @@
##..
##..
....
....

19
samples/sujet_1 Normal file
View File

@@ -0,0 +1,19 @@
....
##..
.#..
.#..
....
####
....
....
#...
###.
....
....
....
##..
.##.
....

39
samples/sujet_2 Normal file
View File

@@ -0,0 +1,39 @@
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....
....
.##.
.##.
....
....
....
##..
.##.
##..
.#..
.#..
....
....
###.
.#..
....

34
samples/test7 Normal file
View File

@@ -0,0 +1,34 @@
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....
....
.##.
.##.
....
....
....
##..
.##.
##..
.#..
.#..
....

54
samples/test_11 Normal file
View File

@@ -0,0 +1,54 @@
....
....
..##
.##.
....
.##.
..#.
..#.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
###.
.#..
....
....
..##
.##.
....
....
..##
.##.

39
samples/test_8 Normal file
View File

@@ -0,0 +1,39 @@
....
....
..##
.##.
....
.##.
..#.
..#.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.
....
....
..##
.##.

4
samples/two Normal file
View File

@@ -0,0 +1,4 @@
...#
...#
...#
...#

19
samples/valid_sample Normal file
View File

@@ -0,0 +1,19 @@
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....

View File

@@ -0,0 +1,20 @@
...#
...#
...#
...#
....
....
....
####
.###
...#
....
....
....
..##
.##.
....