aboutsummaryrefslogtreecommitdiff
path: root/challenge-149
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.freedom.nl>2022-01-24 15:33:22 +0100
committerAbigail <abigail@abigail.freedom.nl>2022-01-24 15:33:22 +0100
commit6699a62199e5dc264944ee891832f705048b9036 (patch)
tree21846efea3d78e693b814076b6bc22eeb24ac0c1 /challenge-149
parent58fe0dd310fd5641512650fa783103ddbb5fc384 (diff)
downloadperlweeklychallenge-club-6699a62199e5dc264944ee891832f705048b9036.tar.gz
perlweeklychallenge-club-6699a62199e5dc264944ee891832f705048b9036.tar.bz2
perlweeklychallenge-club-6699a62199e5dc264944ee891832f705048b9036.zip
Week 149, part 1: Tests
Diffstat (limited to 'challenge-149')
-rw-r--r--challenge-149/abigail/t/ctest.ini8
-rw-r--r--challenge-149/abigail/t/input-1-11
-rw-r--r--challenge-149/abigail/t/input-1-23
-rw-r--r--challenge-149/abigail/t/output-1-1.exp1
-rw-r--r--challenge-149/abigail/t/output-1-2.exp3
5 files changed, 16 insertions, 0 deletions
diff --git a/challenge-149/abigail/t/ctest.ini b/challenge-149/abigail/t/ctest.ini
new file mode 100644
index 0000000000..5513a21cc4
--- /dev/null
+++ b/challenge-149/abigail/t/ctest.ini
@@ -0,0 +1,8 @@
+#
+# Configuration file for running tests, using ctest.
+# See https://github.com/Abigail/Misc/blob/master/ctest
+#
+
+[names]
+1-1 = Given Example
+1-2 = More Examples
diff --git a/challenge-149/abigail/t/input-1-1 b/challenge-149/abigail/t/input-1-1
new file mode 100644
index 0000000000..209e3ef4b6
--- /dev/null
+++ b/challenge-149/abigail/t/input-1-1
@@ -0,0 +1 @@
+20
diff --git a/challenge-149/abigail/t/input-1-2 b/challenge-149/abigail/t/input-1-2
new file mode 100644
index 0000000000..ec34aebfec
--- /dev/null
+++ b/challenge-149/abigail/t/input-1-2
@@ -0,0 +1,3 @@
+50
+100
+150
diff --git a/challenge-149/abigail/t/output-1-1.exp b/challenge-149/abigail/t/output-1-1.exp
new file mode 100644
index 0000000000..57b5a1d81c
--- /dev/null
+++ b/challenge-149/abigail/t/output-1-1.exp
@@ -0,0 +1 @@
+0 1 2 3 5 8 10 11 12 14 17 20 21 23 26 30 32 35 41 44
diff --git a/challenge-149/abigail/t/output-1-2.exp b/challenge-149/abigail/t/output-1-2.exp
new file mode 100644
index 0000000000..5a1b85732e
--- /dev/null
+++ b/challenge-149/abigail/t/output-1-2.exp
@@ -0,0 +1,3 @@
+0 1 2 3 5 8 10 11 12 14 17 20 21 23 26 30 32 35 41 44 49 50 53 58 62 67 71 76 80 85 94 100 101 102 104 107 110 111 113 116 120 122 125 131 134 139 140 143 148 152
+0 1 2 3 5 8 10 11 12 14 17 20 21 23 26 30 32 35 41 44 49 50 53 58 62 67 71 76 80 85 94 100 101 102 104 107 110 111 113 116 120 122 125 131 134 139 140 143 148 152 157 161 166 170 175 184 193 200 201 203 206 210 212 215 221 224 229 230 233 238 242 247 251 256 260 265 274 283 292 300 302 305 311 314 319 320 323 328 332 337 341 346 350 355 364 373 382 391 399 401
+0 1 2 3 5 8 10 11 12 14 17 20 21 23 26 30 32 35 41 44 49 50 53 58 62 67 71 76 80 85 94 100 101 102 104 107 110 111 113 116 120 122 125 131 134 139 140 143 148 152 157 161 166 170 175 184 193 200 201 203 206 210 212 215 221 224 229 230 233 238 242 247 251 256 260 265 274 283 292 300 302 305 311 314 319 320 323 328 332 337 341 346 350 355 364 373 382 391 399 401 404 409 410 413 418 422 427 431 436 440 445 454 463 472 481 489 490 498 500 503 508 512 517 521 526 530 535 544 553 562 571 579 580 588 597 602 607 611 616 620 625 634 643 652 661 669 670 678 687 696