Lines Matching refs:assertFalse
414 self.assertFalse(F(1, 2) < F(1, 2))
417 self.assertFalse(F(2, 3) <= F(1, 2))
419 self.assertFalse(F(1, 2) == F(1, 3))
420 self.assertFalse(F(1, 2) != F(1, 2))
426 self.assertFalse(F(1, 2) == DummyRational(3, 4))
427 self.assertFalse(DummyRational(3, 4) == F(1, 2))
430 self.assertFalse(F(1, 2) < DummyRational(1, 2))
431 self.assertFalse(F(1, 2) < DummyRational(1, 7))
432 self.assertFalse(F(1, 2) > DummyRational(3, 4))
433 self.assertFalse(F(1, 2) > DummyRational(1, 2))
437 self.assertFalse(F(1, 2) <= DummyRational(1, 7))
438 self.assertFalse(F(1, 2) >= DummyRational(3, 4))
443 self.assertFalse(DummyRational(1, 2) < F(1, 2))
444 self.assertFalse(DummyRational(1, 2) < F(1, 7))
445 self.assertFalse(DummyRational(1, 2) > F(3, 4))
446 self.assertFalse(DummyRational(1, 2) > F(1, 2))
450 self.assertFalse(DummyRational(1, 2) <= F(1, 7))
451 self.assertFalse(DummyRational(1, 2) >= F(3, 4))
460 self.assertFalse(x == y)
461 self.assertFalse(x <= y and x >= y)
464 self.assertFalse(y == x)
465 self.assertFalse(y <= x and y >= x)
469 self.assertFalse(2 < F(4, 2))
471 self.assertFalse(F(4, 2) < 2)
474 self.assertFalse(F(1, 2) < 0.4)
476 self.assertFalse(0.5 < F(1, 2))
478 self.assertFalse(float('inf') < F(1, 2))
480 self.assertFalse(float('nan') < F(-3, 7))
482 self.assertFalse(F(17, 12) < float('-inf'))
483 self.assertFalse(F(144, -89) < float('nan'))
487 self.assertFalse(0.6 <= F(1, 2))
489 self.assertFalse(F(1, 2) <= 0.4)
491 self.assertFalse(2 <= F(3, 2))
493 self.assertFalse(F(5, 2) <= 2)
495 self.assertFalse(float('inf') <= F(1, 2))
497 self.assertFalse(float('nan') <= F(-3, 7))
499 self.assertFalse(F(17, 12) <= float('-inf'))
500 self.assertFalse(F(144, -89) <= float('nan'))
504 self.assertFalse(F(10**23) == float(10**23))
506 self.assertFalse(1e23 < float(F(math.trunc(1e23) + 1)))
508 self.assertFalse(1e23 <= F(math.trunc(1e23) - 1))
510 self.assertFalse(1e23 >= F(math.trunc(1e23) + 1))
513 self.assertFalse(F(10**23) == complex(10**23))
521 self.assertFalse(x != z)
522 self.assertFalse(x == w)
532 self.assertFalse(0.6 == F(1, 2))
534 self.assertFalse(F(1, 2) == 0.4)
536 self.assertFalse(2 == F(3, 2))
538 self.assertFalse(F(5, 2) == 2)
539 self.assertFalse(F(5, 2) == float('nan'))
540 self.assertFalse(float('nan') == F(3, 7))
541 self.assertFalse(F(5, 2) == float('inf'))
542 self.assertFalse(float('-inf') == F(2, 5))