Skip to content

An exercise in testing, benchmarking and fuzzing with Go

Notifications You must be signed in to change notification settings

SaphMB/go-fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

An exercise in testing, benchmarking and fuzzing with Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages