Home
last modified time | relevance | path

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

/external/s2-geometry-library-java/tests/com/google/common/geometry/
DR1IntervalTest.java27 public void testIntervalOps(R1Interval x, R1Interval y, String expectedRelation) { in testIntervalOps() argument
28 assertEquals(x.contains(y), expectedRelation.charAt(0) == 'T'); in testIntervalOps()
29 assertEquals(x.interiorContains(y), expectedRelation.charAt(1) == 'T'); in testIntervalOps()
30 assertEquals(x.intersects(y), expectedRelation.charAt(2) == 'T'); in testIntervalOps()
31 assertEquals(x.interiorIntersects(y), expectedRelation.charAt(3) == 'T'); in testIntervalOps()
DS2LatLngRectTest.java20 public void testIntervalOps(S2LatLngRect x, S2LatLngRect y, String expectedRelation, in testIntervalOps() argument
27 assertEquals(x.contains(y), expectedRelation.charAt(0) == 'T'); in testIntervalOps()
28 assertEquals(x.interiorContains(y), expectedRelation.charAt(1) == 'T'); in testIntervalOps()
29 assertEquals(x.intersects(y), expectedRelation.charAt(2) == 'T'); in testIntervalOps()
30 assertEquals(x.interiorIntersects(y), expectedRelation.charAt(3) == 'T'); in testIntervalOps()
DS1IntervalTest.java21 private void testIntervalOps(S1Interval x, S1Interval y, String expectedRelation, in testIntervalOps() argument
28 assertEquals(x.contains(y), expectedRelation.charAt(0) == 'T'); in testIntervalOps()
29 assertEquals(x.interiorContains(y), expectedRelation.charAt(1) == 'T'); in testIntervalOps()
30 assertEquals(x.intersects(y), expectedRelation.charAt(2) == 'T'); in testIntervalOps()
31 assertEquals(x.interiorIntersects(y), expectedRelation.charAt(3) == 'T'); in testIntervalOps()