Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 458 Bytes

Readme.md

File metadata and controls

22 lines (15 loc) · 458 Bytes

Go FizzBuzz

A FizzBuzz implementation in Golang

FizzBuzz

The FizzBuzz program takes a list of numbers and returns output based on the following rules:

  • Return Fizz if the number is divisible by three
  • Return Buzz if the number is divisible by five
  • Return FizzBuzz if the number is divisible by three and five

Benchmarking

go test -bench=Respond -v ../...

Fuzz testing

go test --fuzz=FuzzRespondSlowly -v