aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-09-20 16:10:08 +0200
committerAbigail <abigail@abigail.be>2021-09-20 16:11:08 +0200
commit344d8d42e675e131ad896d69a13221d36a982abd (patch)
tree381b442cf5d956b95396a118a5be3e09f0fcf668
parent018f2ba457a040f64ae1f3a0ad42a8629dadb792 (diff)
downloadperlweeklychallenge-club-344d8d42e675e131ad896d69a13221d36a982abd.tar.gz
perlweeklychallenge-club-344d8d42e675e131ad896d69a13221d36a982abd.tar.bz2
perlweeklychallenge-club-344d8d42e675e131ad896d69a13221d36a982abd.zip
Test cases for week 131
-rw-r--r--challenge-131/abigail/t/ctest.ini9
-rw-r--r--challenge-131/abigail/t/input-1-14
-rw-r--r--challenge-131/abigail/t/input-2-12
-rw-r--r--challenge-131/abigail/t/input-2-22
-rw-r--r--challenge-131/abigail/t/output-1-1.exp10
-rw-r--r--challenge-131/abigail/t/output-2-1.exp2
-rw-r--r--challenge-131/abigail/t/output-2-2.exp2
7 files changed, 31 insertions, 0 deletions
diff --git a/challenge-131/abigail/t/ctest.ini b/challenge-131/abigail/t/ctest.ini
new file mode 100644
index 0000000000..d80f333d95
--- /dev/null
+++ b/challenge-131/abigail/t/ctest.ini
@@ -0,0 +1,9 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Given Examples
+2-1 = Given Example 1
+2-2 = Given Example 2
diff --git a/challenge-131/abigail/t/input-1-1 b/challenge-131/abigail/t/input-1-1
new file mode 100644
index 0000000000..2c39068bfe
--- /dev/null
+++ b/challenge-131/abigail/t/input-1-1
@@ -0,0 +1,4 @@
+1 2 3 6 7 8 9
+11 12 14 17 18 19
+2 4 6 8
+1 2 3 4 5
diff --git a/challenge-131/abigail/t/input-2-1 b/challenge-131/abigail/t/input-2-1
new file mode 100644
index 0000000000..204b556340
--- /dev/null
+++ b/challenge-131/abigail/t/input-2-1
@@ -0,0 +1,2 @@
+""[]()
+"I like (parens) and the Apple ][+" they said.
diff --git a/challenge-131/abigail/t/input-2-2 b/challenge-131/abigail/t/input-2-2
new file mode 100644
index 0000000000..61401e591a
--- /dev/null
+++ b/challenge-131/abigail/t/input-2-2
@@ -0,0 +1,2 @@
+**//<>
+/* This is a comment (in some languages) */ <could be a tag>
diff --git a/challenge-131/abigail/t/output-1-1.exp b/challenge-131/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..b4c41b95b5
--- /dev/null
+++ b/challenge-131/abigail/t/output-1-1.exp
@@ -0,0 +1,10 @@
+1 2 3
+6 7 8 9
+11 12
+14
+17 18 19
+2
+4
+6
+8
+1 2 3 4 5
diff --git a/challenge-131/abigail/t/output-2-1.exp b/challenge-131/abigail/t/output-2-1.exp
new file mode 100644
index 0000000000..dd64ebf4fc
--- /dev/null
+++ b/challenge-131/abigail/t/output-2-1.exp
@@ -0,0 +1,2 @@
+"(["
+")]"
diff --git a/challenge-131/abigail/t/output-2-2.exp b/challenge-131/abigail/t/output-2-2.exp
new file mode 100644
index 0000000000..c6fadda977
--- /dev/null
+++ b/challenge-131/abigail/t/output-2-2.exp
@@ -0,0 +1,2 @@
+/**/<
+/**/>