Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_fizzbuzz():
- #http://pytest.org/latest/getting-started.html#getstarted
- assert(fizzbuzz(3, 5, 10) == '1 2 F 4 B F 7 8 F B')
- assert(fizzbuzz(2, 7, 15) == '1 F 3 F 5 F B F 9 F 11 F 13 FB 15')
- assert(fizzbuzz(6, 6, 12) == '1 2 3 4 5 FB 7 8 9 10 11 FB')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement