aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-05-04 13:53:17 +0200
committerAbigail <abigail@abigail.be>2021-05-04 13:53:17 +0200
commita6e9ec2dfad251a3012f53fb828064d68948bf49 (patch)
tree80c77c37049eeb9faa2459105c89a28dd7f74b95
parentb90ff173699409bb267dca8f122034c8a1572df7 (diff)
downloadperlweeklychallenge-club-a6e9ec2dfad251a3012f53fb828064d68948bf49.tar.gz
perlweeklychallenge-club-a6e9ec2dfad251a3012f53fb828064d68948bf49.tar.bz2
perlweeklychallenge-club-a6e9ec2dfad251a3012f53fb828064d68948bf49.zip
More tests for week 111, part 1
-rw-r--r--challenge-111/abigail/t/ctest.ini2
-rw-r--r--challenge-111/abigail/t/input-1-27
-rw-r--r--challenge-111/abigail/t/input-1-310
-rw-r--r--challenge-111/abigail/t/output-1-2.exp2
-rw-r--r--challenge-111/abigail/t/output-1-3.exp5
5 files changed, 26 insertions, 0 deletions
diff --git a/challenge-111/abigail/t/ctest.ini b/challenge-111/abigail/t/ctest.ini
index 593491a556..0c0dfde484 100644
--- a/challenge-111/abigail/t/ctest.ini
+++ b/challenge-111/abigail/t/ctest.ini
@@ -5,6 +5,8 @@
[names]
1-1 = Given example
+1-2 = Use large numbers
+1-3 = Use negative numbers
2-1 = Enable.lst
2-2 = /usr/share/dict/words
2-3 = infochimps.com
diff --git a/challenge-111/abigail/t/input-1-2 b/challenge-111/abigail/t/input-1-2
new file mode 100644
index 0000000000..14b659ea7d
--- /dev/null
+++ b/challenge-111/abigail/t/input-1-2
@@ -0,0 +1,7 @@
+ 1000000 2000000 3000000 5000000 7000000
+ 9000000 11000000 15000000 19000000 20000000
+23000000 24000000 25000000 29000000 31000000
+32000000 33000000 39000000 40000000 42000000
+45000000 47000000 48000000 49000000 50000000
+35000000
+39000000
diff --git a/challenge-111/abigail/t/input-1-3 b/challenge-111/abigail/t/input-1-3
new file mode 100644
index 0000000000..e5dd243924
--- /dev/null
+++ b/challenge-111/abigail/t/input-1-3
@@ -0,0 +1,10 @@
+-9 -7 -5 -3 -2
+ 0 11 15 19 20
+23 24 25 29 31
+32 33 39 40 42
+45 47 48 49 50
+-5
+-1
+0
+1
+11
diff --git a/challenge-111/abigail/t/output-1-2.exp b/challenge-111/abigail/t/output-1-2.exp
new file mode 100644
index 0000000000..0d66ea1aee
--- /dev/null
+++ b/challenge-111/abigail/t/output-1-2.exp
@@ -0,0 +1,2 @@
+0
+1
diff --git a/challenge-111/abigail/t/output-1-3.exp b/challenge-111/abigail/t/output-1-3.exp
new file mode 100644
index 0000000000..33f911e8c0
--- /dev/null
+++ b/challenge-111/abigail/t/output-1-3.exp
@@ -0,0 +1,5 @@
+1
+0
+1
+0
+1