Home
last modified time | relevance | path

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

/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DLoopSummaryTest.java17 private static final double EPSILON = Math.ulp(1e9); field in LoopSummaryTest
31 assertEquals(0.0, summary.getJankRate(), EPSILON); in testBasicLoop()
32 assertEquals(1, summary.getAvgFrameTime(), EPSILON); in testBasicLoop()
35 assertEquals(1e9, summary.getAvgFPS(), EPSILON); in testBasicLoop()
36 assertEquals(1e9, summary.getMinFPS(), EPSILON); in testBasicLoop()
37 assertEquals(1e9, summary.getMaxFPS(), EPSILON); in testBasicLoop()
41 assertEquals(1.0, summary.getTargetPercentile(), EPSILON); in testBasicLoop()
52 assertEquals(0.0, summary.getJankRate(), EPSILON); in testSimpleLoop()
53 assertEquals(2, summary.getAvgFrameTime(), EPSILON); in testSimpleLoop()
56 assertEquals(1e9 / 2, summary.getAvgFPS(), EPSILON); in testSimpleLoop()
[all …]
DMetricSummaryTest.java39 private static final double EPSILON = Math.ulp(1e9); field in MetricSummaryTest
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java35 private static final float EPSILON = Math.ulp(16.666f); field in GameCoreConfigurationXmlParserTest
62 assertEquals(16.666, requirements.getFrameTime(), EPSILON); in testSingleApkInfo()
63 assertEquals(0.0, requirements.getJankRate(), EPSILON); in testSingleApkInfo()
198 assertEquals(33.333, requirements.getFrameTime(), EPSILON); in testRequirements()
199 assertEquals(0.1, requirements.getJankRate(), EPSILON); in testRequirements()
/tools/loganalysis/javatests/com/android/loganalysis/parser/
DBatteryUsageParserTest.java30 private static final double EPSILON = 1e-3; field in BatteryUsageParserTest
51 assertEquals(8.93, usage.getBatteryUsage().get(0).getUsage(), EPSILON); in testBatteryUsageParser()