/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S1IntervalTest.java | 21 private void testIntervalOps(S1Interval x, S1Interval y, String expectedRelation, in testIntervalOps() method in S1IntervalTest 142 testIntervalOps(empty, empty, "TTFF", empty, empty); in testBasic() 143 testIntervalOps(empty, full, "FFFF", full, empty); in testBasic() 144 testIntervalOps(empty, zero, "FFFF", zero, empty); in testBasic() 145 testIntervalOps(empty, pi, "FFFF", pi, empty); in testBasic() 146 testIntervalOps(empty, mipi, "FFFF", mipi, empty); in testBasic() 148 testIntervalOps(full, empty, "TTFF", full, empty); in testBasic() 149 testIntervalOps(full, full, "TTTT", full, full); in testBasic() 150 testIntervalOps(full, zero, "TTTT", full, zero); in testBasic() 151 testIntervalOps(full, pi, "TTTT", full, pi); in testBasic() [all …]
|
D | R1IntervalTest.java | 27 public void testIntervalOps(R1Interval x, R1Interval y, String expectedRelation) { in testIntervalOps() method in R1IntervalTest 70 testIntervalOps(empty, empty, "TTFF"); in testBasic() 71 testIntervalOps(empty, unit, "FFFF"); in testBasic() 72 testIntervalOps(unit, half, "TTTT"); in testBasic() 73 testIntervalOps(unit, unit, "TFTT"); in testBasic() 74 testIntervalOps(unit, empty, "TTFF"); in testBasic() 75 testIntervalOps(unit, negunit, "FFTF"); in testBasic() 76 testIntervalOps(unit, new R1Interval(0, 0.5), "TFTT"); in testBasic() 77 testIntervalOps(half, new R1Interval(0, 0.5), "FFTF"); in testBasic()
|
D | S2LatLngRectTest.java | 20 public void testIntervalOps(S2LatLngRect x, S2LatLngRect y, String expectedRelation, in testIntervalOps() method in S2LatLngRectTest 142 testIntervalOps(r1, r1Mid, "TTTT", r1, r1Mid); in testBasic() 143 testIntervalOps(r1, reqM180, "TFTF", r1, reqM180); in testBasic() 144 testIntervalOps(r1, rNorthPole, "TFTF", r1, rNorthPole); in testBasic() 147 testIntervalOps(r1, rectFromDegrees(-10, -1, 1, 20), "FFTT", rectFromDegrees(-10, -180, 90, 20), in testBasic() 149 testIntervalOps(r1, rectFromDegrees(-10, -1, 0, 20), "FFTF", rectFromDegrees(-10, -180, 90, 20), in testBasic() 151 testIntervalOps(r1, rectFromDegrees(-10, 0, 1, 20), "FFTF", rectFromDegrees(-10, -180, 90, 20), in testBasic() 154 testIntervalOps(rectFromDegrees(-15, -160, -15, -150), rectFromDegrees(20, 145, 25, 155), in testBasic() 156 testIntervalOps(rectFromDegrees(70, -10, 90, -140), rectFromDegrees(60, 175, 80, 5), "FFTT", in testBasic() 162 testIntervalOps(rectFromDegrees(12, 30, 60, 60), rectFromDegrees(0, 0, 30, 18), "FFFF", in testBasic() [all …]
|