diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-20 15:57:37 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-20 16:08:20 +0200 |
commit | 57983a04e198c76cf15f8e9bbf2debc0d07564b9 (patch) | |
tree | 792057b8b213a82dfe1035fb3820c43c5529ba1b /tests/src/cgeo/geocaching/geopoint | |
parent | 70b01595e9f054bceb0d28d3ada958d375c7618b (diff) | |
download | cgeo-57983a04e198c76cf15f8e9bbf2debc0d07564b9.zip cgeo-57983a04e198c76cf15f8e9bbf2debc0d07564b9.tar.gz cgeo-57983a04e198c76cf15f8e9bbf2debc0d07564b9.tar.bz2 |
Refactoring: do not get through an extra Geopoint when not required
Diffstat (limited to 'tests/src/cgeo/geocaching/geopoint')
-rw-r--r-- | tests/src/cgeo/geocaching/geopoint/ViewportTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/geopoint/ViewportTest.java b/tests/src/cgeo/geocaching/geopoint/ViewportTest.java index 3ba98de..ac32468 100644 --- a/tests/src/cgeo/geocaching/geopoint/ViewportTest.java +++ b/tests/src/cgeo/geocaching/geopoint/ViewportTest.java @@ -10,7 +10,7 @@ import java.util.Set; public class ViewportTest extends AndroidTestCase { - final private static Viewport vpRef = new Viewport(new Geopoint(-1.0, 3.0), new Geopoint(-2.0, 4.0)); + final private static Viewport vpRef = new Viewport(new Geopoint(-1.0, -2.0), new Geopoint(3.0, 4.0)); public static void assertBounds(final Viewport vp) { assertEquals(new Geopoint(1.0, 1.0), vp.center); |