mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 13:20:57 +00:00
fixed an outlier-related test where the new logic finds two 90,90 fixes that are less than 10s apart not to be outliers
This commit is contained in:
1 parent
d89bd6460e
commit
17ce573251
1 file changed
+1
-1
@@ -507,7 +507,7 @@ public class TrackTest {
|
||||
assertEquals(timePointOfLastOriginalFix, newFullIntervalCacheEntry.getA());
|
||||
assertEquals(now, newFullIntervalCacheEntry.getB().getA());
|
||||
TimePoint timePointForLateOutlier = new MillisecondsTimePoint(now.asMillis() + (steps-1)*timeBetweenFixesInMillis + timeBetweenFixesInMillis/2);
|
||||
Position lateOutlierPosition = new DegreePosition(90, 90);
|
||||
Position lateOutlierPosition = new DegreePosition(-90, 90);
|
||||
GPSFix lateOutlier = new GPSFixImpl(lateOutlierPosition, timePointForLateOutlier);
|
||||
track.addGPSFix(lateOutlier);
|
||||
assertEquals(1, invalidationCalls.size());
|
||||
|
||||
Reference in new issue
Block a user