Fizz buzz (also known as bizz buzz, or simply buzz) is a group word game for children to teach them about division. Players take turns to count incrementally, replacing any number divisible by three with the word "fizz", and any number divisible by five with the word "buzz".
Fizz buzz has been used as an interview screening device for computer programmers. Creating a list of the first 100 Fizz buzz numbers is a trivial problem for any would-be computer programmer, so interviewers can easily sort out those with insufficient programming ability.
You will need to modify the Check() function in FizzBuzz project to implement the following rules in order to make the tests pass.
- If the value is divisible by (3) three return Fizz
- If the value is divisible by (5) five return Buzz
- If the value is divisible by both three and five FizzBuzz
- All all values should return the original value
FizzBuzz_returns_1_for_input_1()
FizzBuzz_returns_Fizz_for_input_3()
FizzBuzz_returns_Fizz_for_input_6()
FizzBuzz_returns_Buzz_for_input_5()
FizzBuzz_returns_Buzz_for_input_10()
FizzBuzz_returns_FizzBuzz_for_input_15()
FizzBuzz_returns_FizzBuzz_for_input_30()
FizzBuzz_returns_64_for_input_64()