GeoBoxMaker implements BoxMaker { public static double milesToRadians(double miles) { return miles / EARTH_RADIUS_MILES; } GeoBoxMaker(DistanceUnits units); @Override // http://janmatuschek.de/LatitudeLongitudeBoundingCoordinates Box<N> make(Point<N> center,
            N radius); static double degreesToRadians(double degrees); static double radiansToDegrees(double radians); static double kilometersToRadians(double kilometers); static double milesToRadians(double miles);  }
@Test public void milesToRadians() { assertEquals(1D, GeoBoxMaker.milesToRadians(GeoBoxMaker.EARTH_RADIUS_MILES), 0); }