Skip to content

Instantly share code, notes, and snippets.

@tborisova
Created March 7, 2014 08:49
Show Gist options
  • Save tborisova/9407898 to your computer and use it in GitHub Desktop.
Save tborisova/9407898 to your computer and use it in GitHub Desktop.
import unittest
from solution import wow_such_much
class TestDoge(unittest.TestCase):
def test_suchmuch_from_15_to_negative(self):
self.assertEqual(
wow_such_much(15, -3),
['suchmuch', '14', '13', 'such', '11', 'much', 'such', '8', '7', 'such',
'much', '4', 'such', '2', '1', 'suchmuch', '-1', '-2'])
if __name__ == '__main__':
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment