1, 2, Fizz, 3, Buzz, Fizz
Fork
the GitHub repository.git add
, git commit
andgit push
directly on your repository as much you want.Pull request
, you must get a green light on the Travis CI server to validate the exercise!"fizz"
if the integer is a multiple of 3
(and not a multiple of 5
)"buzz"
if the integer is a multiple of 5
(and not a multiple of 3
)"fizzbuzz"
if the integer is a multiple of 3
and 5
number
if the integer is not a multiple of 3
or 5
fizzbuzz(2) => 2
fizzbuzz(5) => "buzz"
fizzbuzz(6) => "fizz"
fizzbuzz(11) => 11
fizzbuzz(30) => "fizzbuzz"
May the force be with you !
Look at: https://github.com/jasmine/jasmine (T.D.D.)