def testMixedLessEqual(self):
    self.assertTrue((0.5 <= F(1, 2)))
    self.assertFalse((0.6 <= F(1, 2)))
    self.assertTrue((F(1, 2) <= 0.5))
    self.assertFalse((F(1, 2) <= 0.4))
    self.assertTrue((2 <= F(4, 2)))
    self.assertFalse((2 <= F(3, 2)))
    self.assertTrue((F(4, 2) <= 2))
    self.assertFalse((F(5, 2) <= 2))
    self.assertFalse((float('inf') <= F(1, 2)))
    self.assertTrue((float('-inf') <= F(0, 10)))
    self.assertFalse((float('nan') <= F((- 3), 7)))
    self.assertTrue((F(1, 2) <= float('inf')))
    self.assertFalse((F(17, 12) <= float('-inf')))
    self.assertFalse((F(144, (- 89)) <= float('nan')))
def testMixedLessEqual(self):
    self.assertTrue((0.5 <= F(1, 2)))
    self.assertFalse((0.6 <= F(1, 2)))
    self.assertTrue((F(1, 2) <= 0.5))
    self.assertFalse((F(1, 2) <= 0.4))
    self.assertTrue((2 <= F(4, 2)))
    self.assertFalse((2 <= F(3, 2)))
    self.assertTrue((F(4, 2) <= 2))
    self.assertFalse((F(5, 2) <= 2))
    self.assertFalse((float('inf') <= F(1, 2)))
    self.assertTrue((float('-inf') <= F(0, 10)))
    self.assertFalse((float('nan') <= F((- 3), 7)))
    self.assertTrue((F(1, 2) <= float('inf')))
    self.assertFalse((F(17, 12) <= float('-inf')))
    self.assertFalse((F(144, (- 89)) <= float('nan')))