### Question:
CountryBoundariesCell { boolean isInAny(double longitude, double latitude, Collection<String> ids) { for (String id : containingIds) { if(ids.contains(id)) return true; } Point point = new Point(Fixed1E7.doubleToFixed(longitude), Fixed1E7.doubleToFixed(latitude)); for (CountryAreas areas : intersectingCountries) { if(ids.contains(areas.id)) { if(areas.covers(point)) return true; } } return false; } CountryBoundariesCell(
			Collection<String> containingIds,
			Collection<CountryAreas> intersectingCountries); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void isInAnyDefinitely() { assertTrue(cell(new String[]{"A"},null).isInAny(0,0,Arrays.asList("B","A"))); }
@Test public void isInAnyDefinitelyNot() { assertFalse(cell(new String[]{"A"},null).isInAny(0,0,Arrays.asList("B"))); }
@Test public void isInAnyInGeometry() { assertTrue(cell(null, B).isInAny(1,1,Arrays.asList("B"))); }
@Test public void isInAnyOutOfGeometry() { assertFalse(cell(null, B).isInAny(4,4,Arrays.asList("B"))); }