src/test/java/de/blau/android/osm/BoundingBoxTest.java
/**
     * Create a too large BB and then validate
     */
Create a too large BB and then validate
Create a too large BB and then validate
@Test
    public void checkAndMakeValid() {
        BoundingBox box = new BoundingBox(-2500000, -3000000, 2500000, 3000000);
        assertFalse(box.isValidForApi(0.25f));
        box.makeValidForApi(0.25f);
        assertTrue(box.isValidForApi(0.25f));
    }
@ Test public void checkAndMakeValid ( ) { BoundingBox box = new BoundingBox ( - 2500000 , - 3000000 , 2500000 , 3000000 ) ; assertFalse ( box . isValidForApi ( 0.25f ) ) ; box . makeValidForApi ( 0.25f ) ; assertTrue ( box . isValidForApi ( 0.25f ) ) ; }
Create a too large BB and then validate
Create a too large BB and then validate