def testComparisonsDummyFloat(self):
    x = DummyFloat((1.0 / 3.0))
    y = F(1, 3)
    self.assertTrue((x != y))
    self.assertTrue(((x < y) or (x > y)))
    self.assertFalse((x == y))
    self.assertFalse(((x <= y) and (x >= y)))
    self.assertTrue((y != x))
    self.assertTrue(((y < x) or (y > x)))
    self.assertFalse((y == x))
    self.assertFalse(((y <= x) and (y >= x)))
def testComparisonsDummyFloat(self):
    x = DummyFloat((1.0 / 3.0))
    y = F(1, 3)
    self.assertTrue((x != y))
    self.assertTrue(((x < y) or (x > y)))
    self.assertFalse((x == y))
    self.assertFalse(((x <= y) and (x >= y)))
    self.assertTrue((y != x))
    self.assertTrue(((y < x) or (y > x)))
    self.assertFalse((y == x))
    self.assertFalse(((y <= x) and (y >= x)))