Searched refs:assertLessThan (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RateEstimatorTest.java | 76 assertLessThan("Rate", rate, 20f); in testInstantaneousBurstIsEstimatedUnderTwoPercent() 85 assertLessThan("Rate", rate, 20f); in testCompactBurstIsEstimatedUnderTwoPercent() 113 assertLessThan("Rate", rate, 2f); in testRecoverQuicklyAfterSustainedBurst() 122 assertLessThan("Rate", rate, 1000f); in testEstimateShouldNotOvershoot() 128 assertLessThan("Rate", rate, 0.1f); in testGetRateWithoutUpdate() 135 assertLessThan("Rate", rate, 1f); in testGetRateWithOneUpdate() 138 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
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 211 void assertLessThan(int first, int second) throws Exception { in assertLessThan() method in WindowTestsBase
|