mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed XML Loading error, used VMG to calculate boat velocity
- XML read from stream instead of file - Started implementing VMG to calculate boat velocity dynamically Tags: #pair[wmu16, mra106] #story[986]
This commit is contained in:
@@ -24,13 +24,4 @@ public class YachtTest {
|
||||
yachts.add(new Yacht("Yacht 3", "Y3", new GeoPoint(-35.0, -15.5), 20.0));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testVelocityUpdate() {
|
||||
for (Yacht yacht : yachts) {
|
||||
yacht.updateYachtVelocity(windDir, windSpd);
|
||||
System.out.println(yacht.getVelocity());
|
||||
// TODO: 20/07/17 ajm412: add assertions.
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user