Test fixtures for kmptoolkit-accelerometer: ScriptedAccelerometer, an Accelerometer double that replays a scripted list of AccelerometerSample values to every collector and counts registrations, so a test can assert that code which stops collecting really releases the sensor. Pick this module as a testImplementation dependency alongside kmptoolkit-accelerometer when you want to assert what your app does with a scripted motion sequence, or with a device that reports no accelerometer at all.

Compile Dependencies (2)

Category/LicenseGroup / ArtifactVersionUpdates
io.github.jamal-wia » kmptoolkit-accelerometer-android
The raw accelerometer, and nothing else: an Accelerometer interface with an isAvailable gate and a cold observe(): ...
2.2.1✔
JVM Languages Apache 2.0
org.jetbrains.kotlin » kotlin-stdlib
Standard library for the Kotlin Programming Language
2.4.202.4.21