Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Latest commit

 

History

History
11 lines (9 loc) · 731 Bytes

File metadata and controls

11 lines (9 loc) · 731 Bytes

FizzBuzz TDD Challenege

The goal of Fizzbuzz is to introduce you to Test Driven Development (TDD) and Pair Programming.

What is The FizzBuzz Challenge?

Fizzbuzz is a simple coding challenge, often described as a code kata. The objective of Fizzbuzz is to create a program with the following specification:

  • The program can be passed a number.
  • When passed a number that is a multiple of 3, the program returns the message 'Fizz'.
  • When passed a number that is a multiple of 5, the program returns the message 'Buzz'.
  • When passed a number that is a multiple of both 3 and 5, the program ignores the previous 2 rules and returns the message 'Fizzbuzz'.
  • In all other cases, the program simply returns the given number.