diff --git a/Assets/PlayModeTests/Robot2DControllerTest.cs b/Assets/PlayModeTests/Robot2DControllerTest.cs index 9f22a1a8..4b66d0ba 100644 --- a/Assets/PlayModeTests/Robot2DControllerTest.cs +++ b/Assets/PlayModeTests/Robot2DControllerTest.cs @@ -240,7 +240,7 @@ public IEnumerator EstimateTimeToTarget_IsTimeCorrectTest(float actualDistance) } yield return null; } - var maximumDeviation = 1 + (int)Math.Floor(actualDistance / 10f); + var maximumDeviation = 3 + (int) Math.Floor(actualDistance / 10f); // Debug.Log($"Final tick: {_testAlgorithm.Tick}, current position: {_currentCoarseTile}, current status: {_testAlgorithm.Controller.GetStatus()}"); Debug.Log($"Cells moved: {cellOffset}, dist: {actualDistance}, {nameof(estimatedTime)}: {estimatedTime}, {nameof(_testAlgorithm.Tick)}: {_testAlgorithm.Tick}"); var targetTimeDelta = Math.Abs(_testAlgorithm.Tick- estimatedTime);