Solution(s) to the FIzzbuzz challenge with the equivalent tests.
The game:
- Any number divisible by 3 should return fizz
- Any number divisible by 5 should return buzz
- Any number divisible by both 5 and 3 should return fizzbuzz
Clone the repository with
git clone git@github.com:Maikon/FizzBuzz.git
Switch to it with
cd fizzbuzz
Then run the following command:
ruby fizzbuzz.rb
If you have rspec installed, you can also run the tests with:
rspec spec/fizzbuzz_spec.rb