Skip to content

FizzBuzz Kata TDD. First time practicing TDD methodology.

Notifications You must be signed in to change notification settings

JoneJoana/FizzBuzzTDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FizzBuzzTDD

FizzBuzz Kata TDD. First time practicing TDD methodology.

Instructions

Write a function that takes positive integers and outputs their string representation.

Your function should comply with the following additional rules:

If the number is a multiple of three, return the string "Fizz".
If the number is a multiple of five, return the string "Buzz".
If the number is a multiple of both three and five, return the string "FizzBuzz".

For example, given the numbers from 1 to 15 in order, the function would return:

1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz

About

FizzBuzz Kata TDD. First time practicing TDD methodology.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages