Home
last modified time | relevance | path

Searched refs:greaterEquals (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DHalfTest.java452 public void greaterEquals() { in greaterEquals() method in HalfTest
453 assertTrue(Half.greaterEquals(POSITIVE_INFINITY, NEGATIVE_INFINITY)); in greaterEquals()
454 assertTrue(Half.greaterEquals(POSITIVE_INFINITY, MAX_VALUE)); in greaterEquals()
455 assertFalse(Half.greaterEquals(MAX_VALUE, POSITIVE_INFINITY)); in greaterEquals()
456 assertFalse(Half.greaterEquals(NEGATIVE_INFINITY, LOWEST_VALUE)); in greaterEquals()
457 assertTrue(Half.greaterEquals(LOWEST_VALUE, NEGATIVE_INFINITY)); in greaterEquals()
458 assertTrue(Half.greaterEquals(NEGATIVE_ZERO, POSITIVE_ZERO)); in greaterEquals()
459 assertTrue(Half.greaterEquals(POSITIVE_ZERO, NEGATIVE_ZERO)); in greaterEquals()
460 assertFalse(Half.greaterEquals(toHalf(12.3f), NaN)); in greaterEquals()
461 assertFalse(Half.greaterEquals(NaN, toHalf(12.3f))); in greaterEquals()
[all …]