package cgeo.geocaching.test;

import junit.framework.Assert;
import android.test.AndroidTestCase;
import cgeo.geocaching.cgDestination;

public class cgDestinationTest extends AndroidTestCase {
	
	cgDestination dest = null;
	
	@Override
	protected void setUp() throws Exception {
		super.setUp();
		dest = new cgDestination(1, 10000, 52.5, 9.33);
	}
	
    public void testSomething() throws Throwable {
    	Assert.assertEquals(1, dest.getId());
    	Assert.assertEquals(10000, dest.getDate());
    	Assert.assertEquals(52.5, dest.getLatitude());
    	Assert.assertEquals(9.33, dest.getLongitude());
    }
}
@@ -134,16 +134,59 @@
 nation;%0D
+%0Aimport cgeo.geocaching.geopoint.Geopoint;%0D
 %0A%0D%0Apubli
@@ -238,19 +238,18 @@
 Case %7B%0D%0A
-%09
 %0D%0A
+
 %09cgDesti
@@ -269,19 +269,18 @@
  null;%0D%0A
-%09
 %0D%0A
+
 %09@Overri
@@ -382,16 +382,29 @@
  10000, 
+new Geopoint(
 52.5, 9.
@@ -410,18 +410,18 @@
 .33)
+)
 ;%0D%0A%09%7D%0D%0A
-%09
 %0D%0A
+
     
@@ -594,24 +594,36 @@
 (52.5, dest.
+getCoords().
 getLatitude(
@@ -663,16 +663,28 @@
 3, dest.
+getCoords().
 getLongi

fix unit tests, broken after issue #392 changes