summaryrefslogtreecommitdiff
path: root/ziglings
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-01-30 20:00:32 -0500
committerDave Gauer <dave@ratfactor.com>2021-01-30 20:00:32 -0500
commit2de8a8c54d7090dd063bed8b6b283c2fcb452e43 (patch)
tree80c1fc20d0a171aef52d0fbd0ccaa99409b3e63f /ziglings
parent08ec029f20381580ebe76ad8bd3feca2e5cd262a (diff)
Added ex 21-26 for error handling
Diffstat (limited to 'ziglings')
-rwxr-xr-xziglings6
1 files changed, 6 insertions, 0 deletions
diff --git a/ziglings b/ziglings
index b1caa5c..26e2ee3 100755
--- a/ziglings
+++ b/ziglings
@@ -88,6 +88,12 @@ check_it 17_quiz2.zig "8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz, 16" "This is a
check_it 18_functions.zig "Question: 42" "Can you help write the function?"
check_it 19_functions2.zig "2 4 8 16"
check_it 20_quiz3.zig "32 64 128 256" "Unexpected pop quiz! Help!"
+check_it 21_errors.zig "2<4. 3<4. 4=4. 5>4. 6>4." "What's the deal with fours?"
+check_it 22_errors2.zig "I compiled" "Get the error union type right to allow this to compile."
+check_it 23_errors3.zig "a=64, b=22"
+check_it 24_errors4.zig "a=20, b=14, c=10"
+check_it 25_errors5.zig "a=0, b=19, c=0"
+check_it 26_hello2.zig "Hello world" "Try using a try!"
echo
echo " __ __ _ "