Helper extends ErrorAware { public static int compare(long a , long b) { if (a < b) return -1; if (a > b) return 1; return 0; }  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 compare() { long a = 5; long b = 4; assertTrue(a > b); assertFalse(a < b); }
@Test public void testCompare(){ assertEquals(Helper.compare(0,1), -1); assertEquals(Helper.compare(1,0), 1); assertEquals(Helper.compare(0,0), 0); }