diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-12 13:20:12 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-12 14:52:25 +0200 |
| commit | 018e7db82858c3ab0fdc7dc5aba70eddbe1fa3fe (patch) | |
| tree | 57e7eb31856c8a05d2f33ccbc37746efa74ed319 /tests/src/cgeo/geocaching/geopoint | |
| parent | 65caf4985175662cb1c11314a860506b648d342b (diff) | |
| download | cgeo-018e7db82858c3ab0fdc7dc5aba70eddbe1fa3fe.zip cgeo-018e7db82858c3ab0fdc7dc5aba70eddbe1fa3fe.tar.gz cgeo-018e7db82858c3ab0fdc7dc5aba70eddbe1fa3fe.tar.bz2 | |
Refactoring: remove int based Geopoint and Viewport constructors
Those were source of errors, and have no legitimate reason to be used in
our current code base as this changeset shows.
Diffstat (limited to 'tests/src/cgeo/geocaching/geopoint')
| -rw-r--r-- | tests/src/cgeo/geocaching/geopoint/GeopointTest.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/src/cgeo/geocaching/geopoint/GeopointTest.java b/tests/src/cgeo/geocaching/geopoint/GeopointTest.java index ba88992..7ce39b7 100644 --- a/tests/src/cgeo/geocaching/geopoint/GeopointTest.java +++ b/tests/src/cgeo/geocaching/geopoint/GeopointTest.java @@ -41,12 +41,6 @@ public class GeopointTest extends AndroidTestCase { Assert.assertFalse(gp1.equals(gp2)); } - public static void testCreateE6() { - final Geopoint gp1 = new Geopoint(48.2, 2.34); - final Geopoint gp2 = new Geopoint(48200000, 2340000); - Assert.assertTrue(gp1.isEqualTo(gp2, 1e-6)); - } - public static void testGetE6() { final Geopoint gp = new Geopoint(41.2, -3.4); Assert.assertEquals(41200000.0, gp.getLatitudeE6(), 1e-6); |
