Build a project composed of a class and methods by using the test-driven development methodology.
- Test cases for the factorial method that receives as arguments a positive integer or zero.
- Test cases for the reverse method that returns the input string in a reverse order.
- Test cases for the fizzbuzz method which returns a string according to the input parameter.
- The Solver class that implements the factorial, reverse, and fizzbuzz methods.
- Ruby
To get a local copy up and running follow these simple example steps.
- Have
git
installed on your local computer. - Have
ruby
installed on your local computer.
- Clone this repository to your local computer. Choose the location you prefer.
- Run the command
bundle install
to install all project's dependencies.
- Run the command
rspec spec
to execute thesolver_spec.rb
test file.
👤 Gabriela Sánchez Espirilla
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Linters: Microverse
This project is MIT licensed.