Implemented else blocks

This commit is contained in:
2024-07-30 16:36:33 +02:00
parent 5abe8acc70
commit 323952f4bc
17 changed files with 118 additions and 25 deletions

View File

@ -16,8 +16,9 @@ var examples = []struct {
ExitCode int
}{
{"hello", "", "Hello", 0},
{"factorial", "", "", 120},
{"fibonacci", "", "", 55},
{"factorial", "", "120", 0},
{"fibonacci", "", "55", 0},
{"gcd", "", "21", 0},
{"array", "", "Hello", 0},
{"echo", "Echo", "Echo", 0},
{"itoa", "", "9223372036854775807", 0},