Skip to content
Sean Killeen edited this page May 16, 2014 · 1 revision

Kata: FizBuzz

  • Print numbers from 1 to 100
  • Print "Fizz" instead of number which is divisible by 3
  • Print "Buzz" instead of number which is divisible by 5
  • Print "FizzBuzz" instead of number which is divisible by both 3 and 5

Extended tests:

  • Create a method to accept single number
  • Create test to verify supplied number within the range 1 to 100
  • Create test to verify number and return result (Fizz or Buzz or FizzBuzz) per above criteria
Clone this wiki locally