aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2021-01-11 14:59:23 +0100
committerAbigail <abigail@abigail.be>2021-01-11 15:19:48 +0100
commit503a753cc0322e01fc0d8bf3e04b2c6546a3d3eb (patch)
tree658117264eeb72a6c77b89cbd3e6a48cf4a8498c
parent463adb0cbdada147a962aa85951f95bd8a1d7847 (diff)
downloadperlweeklychallenge-club-503a753cc0322e01fc0d8bf3e04b2c6546a3d3eb.tar.gz
perlweeklychallenge-club-503a753cc0322e01fc0d8bf3e04b2c6546a3d3eb.tar.bz2
perlweeklychallenge-club-503a753cc0322e01fc0d8bf3e04b2c6546a3d3eb.zip
Split out the script run test into a separate file.
This way, we can skip the test for languages which don't have script runs.
-rw-r--r--challenge-095/abigail/t/ctest.ini3
-rw-r--r--challenge-095/abigail/t/input-1-41
-rw-r--r--challenge-095/abigail/t/input-1-51
-rw-r--r--challenge-095/abigail/t/output-1-4.exp1
-rw-r--r--challenge-095/abigail/t/output-1-5.exp1
5 files changed, 4 insertions, 3 deletions
diff --git a/challenge-095/abigail/t/ctest.ini b/challenge-095/abigail/t/ctest.ini
index 4e06c03c53..251a0f8e01 100644
--- a/challenge-095/abigail/t/ctest.ini
+++ b/challenge-095/abigail/t/ctest.ini
@@ -2,6 +2,7 @@
1-1 = Given examples
1-2 = Test decimal dot
1-3 = Very short inputs
-1-4 = Unicode and script runs
+1-4 = Unicode numbers
+1-5 = Script run check
2-1 = Given example
2-2 = Test empty stack
diff --git a/challenge-095/abigail/t/input-1-4 b/challenge-095/abigail/t/input-1-4
index 8fd1671e8e..5c89bad12c 100644
--- a/challenge-095/abigail/t/input-1-4
+++ b/challenge-095/abigail/t/input-1-4
@@ -1,3 +1,2 @@
๑๒๓๒๑
๑๒.๒๑
-๑௧๓௧๑
diff --git a/challenge-095/abigail/t/input-1-5 b/challenge-095/abigail/t/input-1-5
new file mode 100644
index 0000000000..27048b8444
--- /dev/null
+++ b/challenge-095/abigail/t/input-1-5
@@ -0,0 +1 @@
+๑௧๓௧๑
diff --git a/challenge-095/abigail/t/output-1-4.exp b/challenge-095/abigail/t/output-1-4.exp
index 2f1465d159..6ed281c757 100644
--- a/challenge-095/abigail/t/output-1-4.exp
+++ b/challenge-095/abigail/t/output-1-4.exp
@@ -1,3 +1,2 @@
1
1
-0
diff --git a/challenge-095/abigail/t/output-1-5.exp b/challenge-095/abigail/t/output-1-5.exp
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/challenge-095/abigail/t/output-1-5.exp
@@ -0,0 +1 @@
+0