Importing geotools library to calculate next coordinate for boat

-Currently getting ClassDefNotFound error
- I think one of th elibraries dependencies is visible and compile time not runtime

#story[9] #implement
This commit is contained in:
Erika Savell
2017-03-17 13:03:27 +13:00
parent 2811a09784
commit 1284cac68e
6 changed files with 55 additions and 20 deletions
@@ -1,5 +1,6 @@
package seng302.Model;
import org.junit.Test;
import seng302.GPSCoordinate;
@@ -11,7 +12,7 @@ public class ConstantVelocityRaceTest {
@Test
public void travelling5nmNorthGivesCorrectNewCoordinates() {
GPSCoordinate oldPos = new GPSCoordinate(0, 0);
System.out.print(ConstantVelocityRace.calculate_position(oldPos, 1, 0).getLatitude());
System.out.println(ConstantVelocityRace.calculatePosition(oldPos, 18520, 90).getLatitude());
System.out.println(ConstantVelocityRace.calculatePosition(oldPos, 18520, 90).getLongitude());
}
}