blob: db65f09a9d603b3cd5896d2d64816abd1ff91f23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
test_compare_string() {
if [ "$1" == "$2" ]
then
echo "test ok"
else
echo "test broken"
fi
}
test_set1_challenge5() {
OUTPUT=$(./task5)
EXCEPTED="0b3637272a2b2e63622c2e69692a23693a2a3c6324202d623d63343c2a26226324272765272a282b2f20430a652e2c652a3124333a653e2b2027630c692b20283165286326302e27282f"
test_compare_string "$OUTPUT" "$EXCEPTED"
}
test_set1_challenge5
|