Last active
August 29, 2015 13:57
-
-
Save arudova/9388999 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from solution import wow_such_much, count_doge_words | |
class TestDoge(unittest.TestCase): | |
def test_suchmuch_from_negative(self): | |
self.assertEqual(wow_such_much(-5, 7), | |
['much', '-4', 'such', '-2', '-1', 'suchmuch', '1', '2', 'such', '4', 'much', 'such']) | |
def test_suchmuch_from_zero(self): | |
self.assertEqual(wow_such_much(0, 16), | |
['suchmuch', '1', '2', 'such', '4', 'much', 'such', '7', '8', 'such', 'much', | |
'11', 'such', '13', '14', 'suchmuch']) | |
if __name__ == '__main__': | |
unittest.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment