Searched refs:assertLessThan (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RateEstimatorTest.java | 78 assertLessThan("Rate", rate, 20f); in testInstantaneousBurstIsEstimatedUnderTwoPercent() 87 assertLessThan("Rate", rate, 20f); in testCompactBurstIsEstimatedUnderTwoPercent() 115 assertLessThan("Rate", rate, 2f); in testRecoverQuicklyAfterSustainedBurst() 124 assertLessThan("Rate", rate, 1000f); in testEstimateShouldNotOvershoot() 130 assertLessThan("Rate", rate, 0.1f); in testGetRateWithoutUpdate() 137 assertLessThan("Rate", rate, 1f); in testGetRateWithOneUpdate() 140 private void assertLessThan(String label, float a, float b) { in assertLessThan() method in RateEstimatorTest
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 218 assertLessThan(NEGATIVE_INFINITY, UNIT); in testCompareTo() 219 assertLessThan(NEGATIVE_INFINITY, POSITIVE_INFINITY); in testCompareTo() 220 assertLessThan(NEGATIVE_INFINITY, ZERO); in testCompareTo() 232 assertLessThan(new Rational(-5, 25), ZERO); in testCompareTo() 439 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { in assertLessThan() method in RationalTest
|