Example #1
0
 def test_isSolution_bad(self):
   self.assertFalse(S.isSolution(2.00, 2.07, 2.29, 0.75))
   self.assertFalse(S.isSolution(3.18, 1.40, 1.21, 1.32))
   self.assertFalse(S.isSolution(2.65, 1.96, 1.69, 0.81))
Example #2
0
 def test_isSolution_good(self):
   self.assertTrue(S.isSolution(1.20, 1.25, 1.50, 3.16))