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))
Exemple #6
0
 def testEqFls(self):
     self.assertFalse(compare_exp(.001, .1))
 def testEqFract(self):
     self.assertTrue(compare_exp(.00001, .00008))
Exemple #8
0
 def testEqFlsThr1(self):
     self.assertFalse(compare_exp(.001, .1, 2))
Exemple #9
0
 def testEqThr(self):
     self.assertTrue(compare_exp(.1, .01, 2))
Exemple #10
0
 def testEq(self):
     self.assertTrue(compare_exp(100, 200))
Exemple #11
0
 def testEqFract2(self):
     self.assertTrue(compare_exp(.1, .1))
Exemple #12
0
 def testEqFract(self):
     self.assertTrue(compare_exp(.00001, .00008))