def testEqFls(self):
     self.assertFalse(compare_exp(.001,.1))
 def testEqThr(self):
     self.assertTrue(compare_exp(.1,.01,2))
 def testEqFlsThr1(self):
     self.assertFalse(compare_exp(.001,.1,2))
 def testEqFract2(self):
     self.assertTrue(compare_exp(.1, .1))
 def testEq(self):
     self.assertTrue(compare_exp(100,200))
Beispiel #6
0
 def testEqFls(self):
     self.assertFalse(compare_exp(.001, .1))
 def testEqFract(self):
     self.assertTrue(compare_exp(.00001, .00008))
Beispiel #8
0
 def testEqFlsThr1(self):
     self.assertFalse(compare_exp(.001, .1, 2))
Beispiel #9
0
 def testEqThr(self):
     self.assertTrue(compare_exp(.1, .01, 2))
Beispiel #10
0
 def testEq(self):
     self.assertTrue(compare_exp(100, 200))
Beispiel #11
0
 def testEqFract2(self):
     self.assertTrue(compare_exp(.1, .1))
Beispiel #12
0
 def testEqFract(self):
     self.assertTrue(compare_exp(.00001, .00008))