Lines Matching refs:expectedLevel
283 int expectedLevel = Math.max(0, Math.min(S2CellId.MAX_LEVEL, level));
284 assertEquals(S2Projections.MIN_WIDTH.getMinLevel(dWidth), expectedLevel);
285 assertEquals(S2Projections.MIN_WIDTH.getMaxLevel(dWidth), expectedLevel);
286 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(dWidth), expectedLevel);
289 assertEquals(S2Projections.MIN_WIDTH.getMinLevel(1.2 * dWidth), expectedLevel);
290 assertEquals(S2Projections.MIN_WIDTH.getMaxLevel(0.8 * dWidth), expectedLevel);
291 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(1.2 * dWidth), expectedLevel);
292 assertEquals(S2Projections.MIN_WIDTH.getClosestLevel(0.8 * dWidth), expectedLevel);
299 assertEquals(S2Projections.MIN_AREA.getMinLevel(area1), expectedLevel);
300 assertEquals(S2Projections.MIN_AREA.getMaxLevel(area1), expectedLevel);
301 assertEquals(S2Projections.MIN_AREA.getClosestLevel(area1), expectedLevel);
302 assertEquals(S2Projections.MIN_AREA.getMinLevel(1.2 * area1), expectedLevel);
303 assertEquals(S2Projections.MIN_AREA.getMaxLevel(0.8 * area1), expectedLevel);
304 assertEquals(S2Projections.MIN_AREA.getClosestLevel(1.2 * area1), expectedLevel);
305 assertEquals(S2Projections.MIN_AREA.getClosestLevel(0.8 * area1), expectedLevel);