@Test public void intToDoubleTest() { double degrees = CoordinatesUtil.microdegreesToDegrees(MICRO_DEGREES); Assert.assertEquals(DEGREES, degrees, 0); }
public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; }
CoordinatesUtil { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } }
CoordinatesUtil { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } private  CoordinatesUtil(); }
CoordinatesUtil { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } private  CoordinatesUtil(); static int degreesToMicrodegrees(double coordinate); static double microdegreesToDegrees(int coordinate); static double[] parseCoordinateString(String coordinatesString, int numberOfCoordinates); static void validateLatitude(double latitude); static void validateLongitude(double longitude); }
CoordinatesUtil { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } private  CoordinatesUtil(); static int degreesToMicrodegrees(double coordinate); static double microdegreesToDegrees(int coordinate); static double[] parseCoordinateString(String coordinatesString, int numberOfCoordinates); static void validateLatitude(double latitude); static void validateLongitude(double longitude); static final double LATITUDE_MAX; static final double LATITUDE_MIN; static final double LONGITUDE_MAX; static final double LONGITUDE_MIN; }