Searched refs:kDegreeEps (Results 1 – 1 of 1) sorted by relevance
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2CapTest.java | 122 final double kDegreeEps = 1e-13; in testRectBound() local 129 assertDoubleNear(rect.latLo().degrees(), -90, kDegreeEps); in testRectBound() local 130 assertDoubleNear(rect.latHi().degrees(), 5, kDegreeEps); in testRectBound() local 142 assertDoubleNear(rect.latLo().degrees(), 0, kDegreeEps); in testRectBound() local 143 assertDoubleNear(rect.latHi().degrees(), 90, kDegreeEps); in testRectBound() local 149 assertDoubleNear(rect.latLo().degrees(), -90, kDegreeEps); in testRectBound() local 150 assertDoubleNear(rect.latHi().degrees(), 90, kDegreeEps); in testRectBound() local 155 assertDoubleNear(rect.latLo().degrees(), -20, kDegreeEps); in testRectBound() local 156 assertDoubleNear(rect.latHi().degrees(), 20, kDegreeEps); in testRectBound() local 157 assertDoubleNear(rect.lngLo().degrees(), 30, kDegreeEps); in testRectBound() local [all …]
|