mirror of https://github.com/apache/lucene.git
remove dead, and also scary, methods from geo tests
This commit is contained in:
parent
283d9bb4b7
commit
cd82417c35
|
@ -413,22 +413,6 @@ public abstract class BaseGeoPointTestCase extends LuceneTestCase {
|
||||||
verify(small, lats, lons);
|
verify(small, lats, lons);
|
||||||
}
|
}
|
||||||
|
|
||||||
public long scaleLon(final double val) {
|
|
||||||
return (long) ((val-GeoUtils.MIN_LON_INCL) * LON_SCALE);
|
|
||||||
}
|
|
||||||
|
|
||||||
public long scaleLat(final double val) {
|
|
||||||
return (long) ((val-GeoUtils.MIN_LAT_INCL) * LAT_SCALE);
|
|
||||||
}
|
|
||||||
|
|
||||||
public double unscaleLon(final long val) {
|
|
||||||
return (val / LON_SCALE) + GeoUtils.MIN_LON_INCL;
|
|
||||||
}
|
|
||||||
|
|
||||||
public double unscaleLat(final long val) {
|
|
||||||
return (val / LAT_SCALE) + GeoUtils.MIN_LAT_INCL;
|
|
||||||
}
|
|
||||||
|
|
||||||
public double randomLat(boolean small) {
|
public double randomLat(boolean small) {
|
||||||
double result;
|
double result;
|
||||||
if (small) {
|
if (small) {
|
||||||
|
|
Loading…
Reference in New Issue