Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.