Skip to content

Instantly share code, notes, and snippets.

@gregturn
Created September 10, 2010 15:57
Show Gist options
  • Save gregturn/573882 to your computer and use it in GitHub Desktop.
Save gregturn/573882 to your computer and use it in GitHub Desktop.
from recipe7 import *
from recipe7_legacy import *
import unittest
if __name__ == "__main__":
tester = RomanNumeralTester()
suite = unittest.TestSuite()
for test in [tester.simple_test, tester.combo_test1, \
tester.combo_test2, tester.other_test]:
testcase = unittest.FunctionTestCase(test)
suite.addTest(testcase)
unittest.TextTestRunner(verbosity=2).run(suite)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment