Skip to content

This project was developed applying the Chain of Responsibility Pattern and the Builder Pattern to develop FizzBuzz.

License

Notifications You must be signed in to change notification settings

dyarleniber/awesome-fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome FizzBuzz

This project was developed applying the Chain of Responsibility Pattern and the Builder Pattern to develop FizzBuzz. The "Fizz-Buzz test" is an interview question designed to help filter out the 99.5% of programming job candidates. The text of the programming assignment is as follows:

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

The programming language used was PHP, to start the environment just run the following command with Docker Compose:

docker-compose up

To perform unit tests run the following command:

vendor/bin/phpunit tests/

But before that, install the dependencies (PHPUnit) with the following Composer command:

composer install

About

This project was developed applying the Chain of Responsibility Pattern and the Builder Pattern to develop FizzBuzz.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages