diff --git a/src/test/java/com/esri/core/geometry/TestGeohash.java b/src/test/java/com/esri/core/geometry/TestGeohash.java index 992eebc6..9e72f890 100644 --- a/src/test/java/com/esri/core/geometry/TestGeohash.java +++ b/src/test/java/com/esri/core/geometry/TestGeohash.java @@ -112,41 +112,39 @@ public void testToGeoHash() { assertEquals("gk6ru", p2Hash); assertEquals("sqdnk", p3Hash); } - @Test - public void testToGeohashHasGoodPrecision(){ - Point2D point = new Point2D(18.068581, 59.329323); - assertEquals(6, Geohash.toGeohash(point, 6).length()); - } + @Test + public void testToGeohashHasGoodPrecision(){ + Point2D point = new Point2D(18.068581, 59.329323); + assertEquals(6, Geohash.toGeohash(point, 6).length()); + } - @Test - public void testToGeohash2(){ - String expected = "u6sce"; - Point2D point = new Point2D(18.068581, 59.329323); - String geoHash = Geohash.toGeohash(point, 5); + @Test + public void testToGeohash2(){ + String expected = "u6sce"; + Point2D point = new Point2D(18.068581, 59.329323); + String geoHash = Geohash.toGeohash(point, 5); - assertEquals(expected, geoHash); - } + assertEquals(expected, geoHash); + } - @Test - public void testContainingGeohashWithHugeValues(){ - Envelope2D envelope = new Envelope2D(-179, -89, 179, 89); - assertEquals("", Geohash.containingGeohash(envelope)); - } + @Test + public void testContainingGeohashWithHugeValues(){ + Envelope2D envelope = new Envelope2D(-179, -89, 179, 89); + assertEquals("", Geohash.containingGeohash(envelope)); + } - @Test - public void testContainingGeohash(){ - Envelope2D envelope = new Envelope2D(-179, -89, -140, -50); - assertEquals("0", Geohash.containingGeohash(envelope)); - } + @Test + public void testContainingGeohash(){ + Envelope2D envelope = new Envelope2D(-179, -89, -140, -50); + assertEquals("0", Geohash.containingGeohash(envelope)); + } - @Test - public void testContainingGeohash2(){ - Envelope2D envelope = new Envelope2D(18.078, 59.3564, 18.1,59.3344); - assertEquals("u6sce", Geohash.containingGeohash(envelope)); - } + @Test + public void testContainingGeohash2(){ + Envelope2D envelope = new Envelope2D(18.078, 59.3564, 18.1,59.3344); + assertEquals("u6sce", Geohash.containingGeohash(envelope)); + } - - @Test public void testCoveringGeohashEmptyEnvelope() { Envelope2D emptyEnv = new Envelope2D();