aboutsummaryrefslogtreecommitdiff
path: root/challenge-250/paulo-custodio/t
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-250/paulo-custodio/t')
-rw-r--r--challenge-250/paulo-custodio/t/test-1.yaml15
-rw-r--r--challenge-250/paulo-custodio/t/test-2.yaml10
2 files changed, 25 insertions, 0 deletions
diff --git a/challenge-250/paulo-custodio/t/test-1.yaml b/challenge-250/paulo-custodio/t/test-1.yaml
new file mode 100644
index 0000000000..b769218e2d
--- /dev/null
+++ b/challenge-250/paulo-custodio/t/test-1.yaml
@@ -0,0 +1,15 @@
+- setup:
+ cleanup:
+ args: 0 1 2
+ input:
+ output: 0
+- setup:
+ cleanup:
+ args: 4 3 2 1
+ input:
+ output: 2
+- setup:
+ cleanup:
+ args: 1 2 3 4 5 6 7 8 9 0
+ input:
+ output: -1
diff --git a/challenge-250/paulo-custodio/t/test-2.yaml b/challenge-250/paulo-custodio/t/test-2.yaml
new file mode 100644
index 0000000000..0082789893
--- /dev/null
+++ b/challenge-250/paulo-custodio/t/test-2.yaml
@@ -0,0 +1,10 @@
+- setup:
+ cleanup:
+ args: perl 2 000 python r4ku
+ input:
+ output: 6
+- setup:
+ cleanup:
+ args: 001 1 000 0001
+ input:
+ output: 1