Added a rudimentary FizzBuzz example

This commit is contained in:
2024-08-03 01:11:22 +02:00
parent df5813515d
commit 6aa1e674df
7 changed files with 48 additions and 6 deletions

View File

@ -23,6 +23,7 @@ var examples = []struct {
{"echo", "Echo", "Echo", 0},
{"itoa", "", "9223372036854775807", 0},
{"collatz", "", "6 3 10 5 16 8 4 2 1", 0},
{"fizzbuzz", "", "1 2 Fizz 4 Buzz Fizz 7 8 Fizz Buzz 11 Fizz 13 14 FizzBuzz", 0},
}
func TestExamples(t *testing.T) {