mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed failing test
This commit is contained in:
@@ -48,8 +48,8 @@ public class UpdateYachtTest {
|
|||||||
Assert.assertTrue(moved > 0);
|
Assert.assertTrue(moved > 0);
|
||||||
|
|
||||||
// Making sure no collision
|
// Making sure no collision
|
||||||
double distance = GeoUtility.getDistance(yacht1.getLocation(), geoPoint2);
|
Double distance = GeoUtility.getDistance(yacht1.getLocation(), geoPoint2);
|
||||||
Assert.assertTrue(distance > 25.0);
|
Assert.assertTrue(distance > 10.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user