@Test
public void overlapPosition() throws Exception {

    assertFalse(new PointRegion("x",122).overlap(123));
    assertTrue(new PointRegion("x",123).overlap(123));
    assertFalse(new PointRegion("x",124).overlap(123));
    assertFalse(new PointRegion("x",123).overlap(122));
    assertFalse(new PointRegion("x",123).overlap(124));
    RegionImpl reg = new RegionImpl("x", 122, 124);
    assertFalse(reg.overlap(121));
    assertTrue(reg.overlap(122));
    assertTrue(reg.overlap(123));
    assertTrue(reg.overlap(124));
    assertFalse(reg.overlap(125));
}