From 4b4633e3242259a8ce230a9c7405703fde9fa2c7 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 15 May 2016 23:19:48 +0200 Subject: Add tests --- tests/t1.in | 5 +++++ tests/t1.out | 4 ++++ tests/t2.in | 5 +++++ tests/t2.out | 4 ++++ tests/t3.in | 7 +++++++ tests/t3.out | 6 ++++++ tests/t4.in | 7 +++++++ tests/t4.out | 6 ++++++ tests/t5.in | 9 +++++++++ tests/t5.out | 8 ++++++++ tests/t6.in | 13 +++++++++++++ tests/t6.out | 12 ++++++++++++ tests/t7.in | 13 +++++++++++++ tests/t7.out | 12 ++++++++++++ 14 files changed, 111 insertions(+) create mode 100644 tests/t1.in create mode 100644 tests/t1.out create mode 100644 tests/t2.in create mode 100644 tests/t2.out create mode 100644 tests/t3.in create mode 100644 tests/t3.out create mode 100644 tests/t4.in create mode 100644 tests/t4.out create mode 100644 tests/t5.in create mode 100644 tests/t5.out create mode 100644 tests/t6.in create mode 100644 tests/t6.out create mode 100644 tests/t7.in create mode 100644 tests/t7.out 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 -- cgit v1.2.3