summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-05-15 23:19:48 +0200
committertomsmeding <tom.smeding@gmail.com>2016-05-15 23:19:48 +0200
commit4b4633e3242259a8ce230a9c7405703fde9fa2c7 (patch)
treef26354fe700fa47a93c966ded944a9534e5fae0c
parent2173d3fdeffc0da5dde2c063a2ed0a90f58dc4e1 (diff)
Add tests
-rw-r--r--tests/t1.in5
-rw-r--r--tests/t1.out4
-rw-r--r--tests/t2.in5
-rw-r--r--tests/t2.out4
-rw-r--r--tests/t3.in7
-rw-r--r--tests/t3.out6
-rw-r--r--tests/t4.in7
-rw-r--r--tests/t4.out6
-rw-r--r--tests/t5.in9
-rw-r--r--tests/t5.out8
-rw-r--r--tests/t6.in13
-rw-r--r--tests/t6.out12
-rw-r--r--tests/t7.in13
-rw-r--r--tests/t7.out12
14 files changed, 111 insertions, 0 deletions
diff --git a/tests/t1.in b/tests/t1.in
new file mode 100644
index 0000000..ac08530
--- /dev/null
+++ b/tests/t1.in
@@ -0,0 +1,5 @@
+4
+. 1 . 0
+. . 0 .
+. 0 . .
+1 1 . 0
diff --git a/tests/t1.out b/tests/t1.out
new file mode 100644
index 0000000..61fd93c
--- /dev/null
+++ b/tests/t1.out
@@ -0,0 +1,4 @@
+0 1 1 0
+1 0 0 1
+0 0 1 1
+1 1 0 0
diff --git a/tests/t2.in b/tests/t2.in
new file mode 100644
index 0000000..10e53f5
--- /dev/null
+++ b/tests/t2.in
@@ -0,0 +1,5 @@
+4
+. . 1 .
+. . . 0
+0 . . .
+1 1 . .
diff --git a/tests/t2.out b/tests/t2.out
new file mode 100644
index 0000000..3c597f8
--- /dev/null
+++ b/tests/t2.out
@@ -0,0 +1,4 @@
+0 0 1 1
+1 0 1 0
+0 1 0 1
+1 1 0 0
diff --git a/tests/t3.in b/tests/t3.in
new file mode 100644
index 0000000..9b4400d
--- /dev/null
+++ b/tests/t3.in
@@ -0,0 +1,7 @@
+6
+. . 1 . . .
+. . . . . .
+0 . . 0 1 .
+. . . 0 . .
+. . . . 1 .
+0 0 . 1 . .
diff --git a/tests/t3.out b/tests/t3.out
new file mode 100644
index 0000000..a84e0f1
--- /dev/null
+++ b/tests/t3.out
@@ -0,0 +1,6 @@
+1 0 1 0 1 0
+1 1 0 1 0 0
+0 1 0 0 1 1
+1 0 1 0 0 1
+0 1 0 1 1 0
+0 0 1 1 0 1
diff --git a/tests/t4.in b/tests/t4.in
new file mode 100644
index 0000000..74cf72d
--- /dev/null
+++ b/tests/t4.in
@@ -0,0 +1,7 @@
+6
+0 . . . . .
+. 1 . 1 0 .
+. 0 . 1 . .
+. . . . . .
+. 0 . . 0 .
+. . . . 0 .
diff --git a/tests/t4.out b/tests/t4.out
new file mode 100644
index 0000000..573cbe4
--- /dev/null
+++ b/tests/t4.out
@@ -0,0 +1,6 @@
+0 0 1 0 1 1
+0 1 0 1 0 1
+1 0 0 1 1 0
+0 1 1 0 1 0
+1 0 1 0 0 1
+1 1 0 1 0 0
diff --git a/tests/t5.in b/tests/t5.in
new file mode 100644
index 0000000..c79ae42
--- /dev/null
+++ b/tests/t5.in
@@ -0,0 +1,9 @@
+8
+. . . . . . 1 .
+. . . 1 . 0 . .
+. . 0 . . . . .
+1 1 . . . . 0 .
+. . . 1 . . . .
+. 0 . 1 . . 0 1
+0 . . . . . . .
+. . 0 1 . . 0 0
diff --git a/tests/t5.out b/tests/t5.out
new file mode 100644
index 0000000..9275329
--- /dev/null
+++ b/tests/t5.out
@@ -0,0 +1,8 @@
+1 0 1 0 1 0 1 0
+0 0 1 1 0 0 1 1
+0 1 0 0 1 1 0 1
+1 1 0 0 1 1 0 0
+1 0 1 1 0 0 1 0
+0 0 1 1 0 1 0 1
+0 1 0 0 1 0 1 1
+1 1 0 1 0 1 0 0
diff --git a/tests/t6.in b/tests/t6.in
new file mode 100644
index 0000000..583f34a
--- /dev/null
+++ b/tests/t6.in
@@ -0,0 +1,13 @@
+12
+..0.11.1..1.
+..0.11....10
+.........0..
+.......1....
+.....0...1.1
+....0.1.1...
+1..00..01.1.
+...0........
+..1..0....0.
+1.1....1....
+...11....1.1
+....00.1....
diff --git a/tests/t6.out b/tests/t6.out
new file mode 100644
index 0000000..e2e0fc4
--- /dev/null
+++ b/tests/t6.out
@@ -0,0 +1,12 @@
+0 1 0 0 1 1 0 1 0 1 1 0
+1 1 0 0 1 1 0 0 1 0 1 0
+1 0 1 1 0 0 1 0 1 0 0 1
+0 0 1 0 1 1 0 1 0 1 1 0
+0 1 0 1 1 0 0 1 0 1 0 1
+1 1 0 1 0 0 1 0 1 0 0 1
+1 0 1 0 0 1 1 0 1 0 1 0
+0 1 0 0 1 1 0 1 0 1 0 1
+0 0 1 1 0 0 1 0 1 1 0 1
+1 0 1 0 0 1 0 1 1 0 1 0
+0 1 0 1 1 0 1 0 0 1 0 1
+1 0 1 1 0 0 1 1 0 0 1 0
diff --git a/tests/t7.in b/tests/t7.in
new file mode 100644
index 0000000..2e20913
--- /dev/null
+++ b/tests/t7.in
@@ -0,0 +1,13 @@
+12
+...1.1....1.
+0......0...0
+..00......1.
+.1.........1
+...1..001...
+1.11.1.0..1.
+......1...1.
+0.0.1.......
+......010.1.
+.0..1....11.
+...0...1....
+.....00..0..
diff --git a/tests/t7.out b/tests/t7.out
new file mode 100644
index 0000000..869dfb6
--- /dev/null
+++ b/tests/t7.out
@@ -0,0 +1,12 @@
+0 1 0 1 0 1 1 0 0 1 1 0
+0 0 1 1 0 1 1 0 1 1 0 0
+1 1 0 0 1 0 0 1 0 0 1 1
+0 1 0 0 1 0 1 1 0 1 0 1
+1 0 1 1 0 1 0 0 1 1 0 0
+1 0 1 1 0 1 0 0 1 0 1 0
+0 1 0 0 1 0 1 1 0 0 1 1
+0 1 0 0 1 0 1 0 1 1 0 1
+1 0 1 1 0 1 0 1 0 0 1 0
+1 0 0 1 1 0 1 0 0 1 1 0
+0 1 1 0 0 1 0 1 1 0 0 1
+1 0 1 0 1 0 0 1 1 0 0 1