Home
last modified time | relevance | path

Searched refs:isAlmostBetween (Results 1 – 3 of 3) sorted by relevance

/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/injectionscope/touch/
DVelocityPathFinderCalculateDurationTest.kt28 import androidx.compose.ui.test.util.isAlmostBetween
233 assertThat(f(t).x).isAlmostBetween(0f, config.end.x) in testWithoutExpectedError()
234 assertThat(f(t).y).isAlmostBetween(0f, config.end.y) in testWithoutExpectedError()
DVelocityPathFinderTest.kt26 import androidx.compose.ui.test.util.isAlmostBetween
151 assertThat(f(t).x).isAlmostBetween(0f, config.end.x) in testWithoutExpectedError()
152 assertThat(f(t).y).isAlmostBetween(0f, config.end.y) in testWithoutExpectedError()
/compose/ui/ui-test/src/androidCommonTest/kotlin/androidx/compose/ui/test/util/
DVerifications.kt248 forEach { assertThat(it).isAlmostBetween(a, b, tolerance) } in isMonotonicBetween()
266 fun FloatSubject.isAlmostBetween(a: Float, b: Float, tolerance: Float = 1e-3f) { in isAlmostBetween() method