Project 4: FizzBuzzBazz - Unit Test
Due: Tuesday the 19th of February at 4:00 pm
Purpose
- Switch from using forks to being a collaborator on the sleddog/methods repo
- Add a new feature to the existing FizzBuzz solution
- Add unit tests to ensure solution is working as expected
Partners
This is an individual assignment.
Assignment
- Return to your FizzBuzz solution, from Project 2 and 3 (make any changes requested from reviewers)
- Modify program to return “Bazz” when the number is a multiple of 7
- Add unit tests that validate the function behaves as expected
- Modify the README to indicate how to run the tests
- Submit as a new branch named `yourname-fbb` on sleddog/methods and create a PR into master (as opposed to using forks)
Sample Output
w/ n = 25
1
2
Fizz
4
Buzz
Fizz
Bazz
8
Fizz
Buzz
11
Fizz
13
Bazz
FizzBuzz
16
17
Fizz
19
Buzz
FizzBazz
22
23
Fizz
Buzz
Note that multiples of 3,7 will print FizzBazz. Multiples of 5,7 will print BuzzBazz. Multiples of 3,5,7 will print FizzBuzzBazz etc...
Grading - 10 points
- 1 points - new PR exists as a new branch on sleddog/methods named appropriately
- 3 points - FizzBuzzBazz works as expected
- 6 points - Unit tests run as expected and are asserting the requirements of the program