def test_static(self): fLOG(__file__, self._testMethodName, OutputPrint=__name__ == "__main__") fLOG("comment to test fLOG") assert myclass2.static_example() cl = myclass2(1) assert cl.property_example
def test_static(self): fLOG(__file__, self._testMethodName, OutputPrint=__name__ == "__main__") fLOG("comment to test fLOG") self.assertTrue(myclass2.static_example() is not None) cl = myclass2(1) self.assertTrue(cl.property_example is not None)
def test_split_cmp_command(self) : fLOG (__file__, self._testMethodName, OutputPrint = __name__ == "__main__") my = myclass(4) r = my.get_value(5) ex = 20 if r != ex : raise Exception("we expect %f, not %f" % (ex, r)) my2 = myclass2(5) my3 = myclassb(4) assert my2 assert my3
def test_split_cmp_command(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") my = myclass(4) r = my.get_value(5) ex = 20 if r != ex: raise Exception("we expect %f, not %f" % (ex, r)) my2 = myclass2(5) my3 = myclassb(4) assert my2 assert my3
def test_split_cmp_command(self): fLOG(__file__, self._testMethodName, OutputPrint=__name__ == "__main__") my = myclass(4) r = my.get_value(5) ex = 20 if r != ex: raise Exception("we expect %f, not %f" % (ex, r)) my2 = myclass2(5) my3 = myclassb(4) self.assertTrue(my2 is not None) self.assertTrue(my3 is not None) mul = my2.get_value(3) self.assertEqual(mul, 15)