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:
Axel Uhl committed 2013-08-15 16:07:05 +02:00
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());