Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 785f3cbd authored by Philip Quinn's avatar Philip Quinn
Browse files

Increase the error tolerance for MotionPredictorTest.

Failure with the new model: expected:<30.0> but was:<24.353516>

Bug: 288354672
Test: atest MotionPredictorTest
Change-Id: Id02b0f7d132e30d2f2a20914ad7ce6377dd42f61
parent 64308004
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ class MotionPredictorTest {
        // Prediction will happen for t=12 (since it is the next input interval after the requested
        // time, 8, plus the model offset, 1).
        assertEquals(12, predicted!!.eventTime)
        assertEquals(30f, predicted.x, /*delta=*/5f)
        assertEquals(30f, predicted.x, /*delta=*/10f)
        assertEquals(60f, predicted.y, /*delta=*/15f)
    }
}