Fix TapDetectionTest not compiling

This commit is contained in:
Butterscotch! committed 2026-10-09 16:43:22 -04:00
1 parent 6de710816e
commit 59d9156c29
1 file changed
+2 -3
@@ -36,7 +36,7 @@ class TapDetectionTest {
tapsNeeded: Int,
events: List<AccelEvent>,
bodyAccelerating: Boolean = false,
motion: Motion = Motion.RESTING,
thresholdMultiplier: Float = 1f,
) {
val state = TapDetectionBasicBehaviour.TrackerTapDetectionState(
trackerId = 1,
@@ -54,7 +54,7 @@ class TapDetectionTest {
bodyAccelerating = bodyAccelerating,
trackerTapDetectionState = state,
trackerAcceleration = event.accel,
trackerMotion = motion,
thresholdMultiplier = thresholdMultiplier,
),
)
}
@@ -141,6 +141,5 @@ class TapDetectionTest {
AccelEvent(tapDelay, lowAccel, expectedTap = false),
AccelEvent(accelDelay, highAccel, expectedTap = false),
),
motion = Motion.ROTATING,
)
}