summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index a728fa0..780a12b 100644
--- a/test.sh
+++ b/test.sh
@@ -28,5 +28,14 @@ EXCEPTED="SSdtIGtpbGxpbmcgeW91ciBicmFpbiBsaWtlIGEgcG9pc29ub3VzIG11c2hyb29t"
test_compare_string "$OUTPUT" "$EXCEPTED"
}
+test_set1_challenge2() {
+ echo "test: set1, challenge 2:"
+ OUTPUT=$(./task2 1c0111001f010100061a024b53535009181c 686974207468652062756c6c277320657965)
+ EXCEPTED="746865206b696420646f6e277420706c6179"
+
+ test_compare_string "$OUTPUT" "$EXCEPTED"
+}
+
test_set1_challenge1
+test_set1_challenge2
test_set1_challenge5