Searched refs:EPS (Results 1 – 3 of 3) sorted by relevance
44 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 …]
41 private static final double EPS = 0.01; field in KMeansTest90 assertEquals("Squared distance not valid", mKMeans.sqDistance(a, b), sqDist, EPS); in sqDistanceTest()
66 public static final double EPS = 1e-7; field in CbGeoUtils506 if (value > EPS) return 1; in sign()507 if (value < -EPS) return -1; in sign()