diff --git a/src/test/java/com/lbry/globe/tests/GeoIPTest.java b/src/test/java/com/lbry/globe/tests/GeoIPTest.java index 62ad76c..a99d630 100644 --- a/src/test/java/com/lbry/globe/tests/GeoIPTest.java +++ b/src/test/java/com/lbry/globe/tests/GeoIPTest.java @@ -10,6 +10,7 @@ public class GeoIPTest{ @Test public void testGetCoordinateFromLocation(){ + assertArrayEquals(new Double[]{null,null},GeoIP.getCoordinateFromLocation(null)); assertArrayEquals(new Double[]{123.0,456.0},GeoIP.getCoordinateFromLocation("123,456")); assertArrayEquals(new Double[]{123.125,456.125},GeoIP.getCoordinateFromLocation("123.125,456.125")); assertArrayEquals(new Double[]{123.25,456.25},GeoIP.getCoordinateFromLocation("123.25,456.25"));