Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCbGeoUtilsTest.java44 assertThat(latlng.lat).isWithin(CbGeoUtils.EPS).of(-80.1234); in testParseLatLngFromString()
45 assertThat(latlng.lng).isWithin(CbGeoUtils.EPS).of(179.5678); in testParseLatLngFromString()
70 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(11.11); in testEncodeGeometries()
71 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(22.22); in testEncodeGeometries()
73 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(33.33); in testEncodeGeometries()
74 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(44.44); in testEncodeGeometries()
76 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(55.55); in testEncodeGeometries()
77 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(-56.0); in testEncodeGeometries()
83 assertThat(p.lat).isWithin(CbGeoUtils.EPS).of(15.123); in testEncodeGeometries()
84 assertThat(p.lng).isWithin(CbGeoUtils.EPS).of(123.456); in testEncodeGeometries()
[all …]
/frameworks/base/tests/Internal/src/com/android/internal/ml/clustering/
DKMeansTest.java41 private static final double EPS = 0.01; field in KMeansTest
90 assertEquals("Squared distance not valid", mKMeans.sqDistance(a, b), sqDist, EPS); in sqDistanceTest()
/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java66 public static final double EPS = 1e-7; field in CbGeoUtils
506 if (value > EPS) return 1; in sign()
507 if (value < -EPS) return -1; in sign()