/kata-fizzbuzz

TDD Kata for the FizzBuzz game

Primary LanguagePHP

Kata Fizz Buzz

The goal of FizzBuzz is to write a program that prints the numbers from 1 to 100. However, for multiples of three, instead of the number, the program should print "Fizz". For multiples of five, instead of the number, the program should print "Buzz". For numbers which are multiples of both three and five, the program should print "FizzBuzz".

To summarize, the program should produce the following output:

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

Requirements

You only need php installed in order to use this repo

Set up

Execute ./composer.phat install to install dependencies

Running tests

Execute ./vendor/bin/phpunit to execute the tests