aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/location
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2014-11-24 14:19:17 +0100
committerSamuel Tardieu <sam@rfc1149.net>2014-11-24 14:19:17 +0100
commit5bce26655db295f1d099c306811d2bc8a6480c91 (patch)
treeaaed09695bcc55667aee7f3841809bd0082d3457 /tests/src/cgeo/geocaching/location
parentdafa3c377773ea8d08d7d96d3419a0ceb39c25dc (diff)
downloadcgeo-5bce26655db295f1d099c306811d2bc8a6480c91.zip
cgeo-5bce26655db295f1d099c306811d2bc8a6480c91.tar.gz
cgeo-5bce26655db295f1d099c306811d2bc8a6480c91.tar.bz2
Minor reformattings in tests
Diffstat (limited to 'tests/src/cgeo/geocaching/location')
-rw-r--r--tests/src/cgeo/geocaching/location/DistanceParserTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/src/cgeo/geocaching/location/DistanceParserTest.java b/tests/src/cgeo/geocaching/location/DistanceParserTest.java
index 4d9e5a5..3641f6f 100644
--- a/tests/src/cgeo/geocaching/location/DistanceParserTest.java
+++ b/tests/src/cgeo/geocaching/location/DistanceParserTest.java
@@ -1,7 +1,5 @@
package cgeo.geocaching.location;
-import cgeo.geocaching.location.DistanceParser;
-
import android.test.AndroidTestCase;
public class DistanceParserTest extends AndroidTestCase {
@@ -25,7 +23,7 @@ public class DistanceParserTest extends AndroidTestCase {
assertEquals(1.2, DistanceParser.parseDistance("1,2km", true), MM);
}
- public static void testCase() {
+ public static void testFeet() {
assertEquals(0.36576, DistanceParser.parseDistance("1200 FT", true), MM);
}