Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚩Write unit tests applying TDD methodology | write-unit-tests - >>branch<< -
Hi there! @NitBravoA92 👋
This is the PR for the TDD project activity. The main objective of this project is to learn how to work with the TDD methodology in a software development project to improve the code structure and quality and speed up the development process.
Here is a summary of what has been done:
Create the following test cases for the
factorial
method of the Solver class:1
3.628.800
Invalid input
6
Create the following test cases for the
reverse
method of the Solver class:olleh
repoleved
Create the following test cases for the
fizzbuzz
method of the Solver class:fizzbuzz
wordfizzbuzz
wordfizz
wordbuzz
word'7'
as a string'13'
as a stringCreate the
Solver
class and the methods:factorial
that receives a positive integer and returns the factorial of the given number,reverse
that receives a string and returns the reverse word of the given stringfizzbuzz
that receives a positive integer and returns "fizz" if the given number is divisible by 3, "buzz" if the given number is divisible by 5, and "fizzbuzz" if the given number is divisible by both 3 and 5. If the given number is not divisible by 3 or 5, the method returns the given number as a string.Add the README file to document the project
⭐To the code reviewer 👨💻
💝 I really thank 🙇♂️ you, dear code reviewer 👨🎨 for dedicating your precious 🥇 time ⌚ to check the PR 🧾 .
I kindly ask 🙏 dear code reviewer 🤵 that if there is any kind of issue 🦯 in this project, please do list 📃 them in a descriptive 💡 manner and give your best suggestions 🎁 if needed.
If you think some big issues are essential to be changed ♻️ please kindly contact 📞 me through Zoom or Slack, I am available on Microverse UTC-6 time zone.