aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/files/LocParserTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/cgeo/geocaching/files/LocParserTest.java')
-rw-r--r--tests/src/cgeo/geocaching/files/LocParserTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/cgeo/geocaching/files/LocParserTest.java b/tests/src/cgeo/geocaching/files/LocParserTest.java
index 8facfe4..64ac7ad 100644
--- a/tests/src/cgeo/geocaching/files/LocParserTest.java
+++ b/tests/src/cgeo/geocaching/files/LocParserTest.java
@@ -48,8 +48,8 @@ public class LocParserTest extends AbstractResourceInstrumentationTestCase {
assertEquals("GC1BKP3", cache.getGeocode());
assertEquals("Die Schatzinsel / treasure island", cache.getName());
assertTrue(new Geopoint(48.859683, 9.1874).isEqualTo(cache.getCoords()));
- assertEquals(1.0f, cache.getDifficulty().floatValue());
- assertEquals(5.0f, cache.getTerrain().floatValue());
+ assertEquals(1.0f, cache.getDifficulty());
+ assertEquals(5.0f, cache.getTerrain());
assertEquals(CacheSize.MICRO, cache.getSize());
}
}