summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorBenedict <benedict@0xb8000.de>2016-03-04 12:42:08 +0100
committerBenedict <benedict@0xb8000.de>2017-02-21 13:00:24 +0100
commit9db81cb91674d45bbb4936a098f4e4fb1a5b45bd (patch)
tree2f794833dace3df001803f275a23573f35114a7f /test.sh
parentd2e94cb263ab933103e1968c0f3da638f35f5983 (diff)
reimplemented task2
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