import unittest, my_mathclass ProductTestCase(unittest.TestCase): def testIntegers(self): self.failUnless(1 == 2, 'Integer multiplication failed') def testFloats(self): self.failUnless(1.1 == 2.2, 'Float multiplication failed')unittest.main()
Name (required)
email (will not be published) (required)
Website