Helper extends ErrorAware { public static double metersToDegrees(double distanceInMeters) { return distanceInMeters / EARTH_RADIUS_METERS / DEG_TO_RAD; }  static void deleteDir(File file); static long folderSize(File directory); static String getResultString(HttpURLConnection http); static boolean saveUrlToFile(String url, File file); static String doubleTo15DigitString(double d); static AlertDialog.Builder getAlertBuilder(Context context); static boolean setBitmapFromFileOrNull(File file, ImageView imageView); static double metersToDegrees(double distanceInMeters); static int directionFromPositionToPositionAsResourceId(IPosition me, IPosition other); static int directionFromPositionToPositionAsResourceId(
            double fromLongitude, double fromLatitude, double toLongitude, double toLatitude); static double distanceInMetersBetween(double longitude1, double latitude1, double longitude2, double latitude2); static void trustAllConnections(); static int compare(long a , long b); static Map<String, List<String>> splitQuery(String query);  }
@Test public void metersToDegrees() { double delta = 1e-6; double meters = 1000; double result = 0.008953; double degrees = Helper.metersToDegrees(meters); assertEquals(result, degrees, delta); }
@Test public void testMetersToDegrees(){ assertEquals(Helper.metersToDegrees(123.25),0.0011034613797355577, 0); }