Searched refs:kMaxDist (Results 1 – 2 of 2) sorted by relevance
247 const uint16_t kMaxDist = kMax / 2 + 1; in TEST() local250 EXPECT_EQ(kMaxDist, unwrapper.Unwrap(kMaxDist)); in TEST()253 EXPECT_EQ(kMaxDist, unwrapper.Unwrap(kMaxDist)); in TEST()257 EXPECT_EQ(kMaxDist, unwrapper.Unwrap(kMaxDist)); in TEST()
143 double kMaxDist = 1e-6; in testAreaCentroid() local147 2 * Math.acos(Math.tan(Math.abs(phi)) / Math.tan(Math.abs(phi) + kMaxDist)); in testAreaCentroid()170 assertTrue(Math.abs(area - expectedArea) <= 2 * S2.M_PI * kMaxDist); in testAreaCentroid()173 assertTrue(Math.abs(area - expectedArea) >= 0.01 * kMaxDist); in testAreaCentroid()177 assertTrue(S2Point.sub(centroid, expectedCentroid).norm() <= 2 * kMaxDist); in testAreaCentroid()