@Test
public void expandNegativeX() {
ReferencedEnvelope env = new ReferencedEnvelope(-2.6, -9.4, 2.4, 9.6, null);
ReferencedEnvelope result = Envelopes.expandToInclude(env, 1.0);
ReferencedEnvelope expected = new ReferencedEnvelope(-2.0, -10.0, 2.0, 10.0, null);
assertTrue(expected.boundsEquals2D(result, TOL));
}
@Test
public void expandNegativeY() {
ReferencedEnvelope env = new ReferencedEnvelope(2.6, 9.4, -2.4, -9.6, null);