aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/geopoint
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-20 15:57:37 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-20 16:08:20 +0200
commit57983a04e198c76cf15f8e9bbf2debc0d07564b9 (patch)
tree792057b8b213a82dfe1035fb3820c43c5529ba1b /tests/src/cgeo/geocaching/geopoint
parent70b01595e9f054bceb0d28d3ada958d375c7618b (diff)
downloadcgeo-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.java2
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);