Searched refs:assertRoughlyEqual (Results 1 – 1 of 1) sorted by relevance
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 62 assertRoughlyEqual("getAltitude identity property violated.", altitude, 0.0f, 0.1f); in testGetAltitude() 85 assertRoughlyEqual( in testGetAltitude() 137 assertRoughlyEqual( in testGetAngleChange() 162 assertRoughlyEqual( in testGetInclination() 195 assertRoughlyEqual( in testGetOrientation() 291 assertRoughlyEqual( in testGetRotationMatrix() 398 assertRoughlyEqual("getRotationMatrixFromVector do not return proper matrix", in testGetRotationMatrixFromVector() 439 assertRoughlyEqual("getRotationMatrixFromVector returns incorrect matrix", in testGetRotationMatrixFromVector() 606 private static void assertRoughlyEqual(String message, float a, float b, float bound) { in assertRoughlyEqual() method in SensorManagerStaticTest 618 assertRoughlyEqual(message, (float)Math.sqrt(sum), 0.f, bound); in assertVectorRoughlyEqual()
|