src/test/java/de/blau/android/osm/StorageTest.java
/**
     * Calculate a bounding box from the loaded data
     */
Calculate a bounding box from the loaded data
Calculate a bounding box from the loaded data
@Test
    public void calcBoundingBoxFromData() {
        try {
            BoundingBox box = storage.calcBoundingBoxFromData();
            assertEquals(63299846, box.getLeft());
            assertEquals(460876616, box.getBottom());
            assertEquals(99643825, box.getRight());
            assertEquals(475258072, box.getTop());
        } catch (OsmException e) {
            fail();
        }
    }
@ Test public void calcBoundingBoxFromData ( ) { try { BoundingBox box = storage . calcBoundingBoxFromData ( ) ; assertEquals ( 63299846 , box . getLeft ( ) ) ; assertEquals ( 460876616 , box . getBottom ( ) ) ; assertEquals ( 99643825 , box . getRight ( ) ) ; assertEquals ( 475258072 , box . getTop ( ) ) ; } catch ( OsmException e ) { fail ( ) ; } }
Calculate a bounding box from the loaded data
Calculate a bounding box from the loaded data