Home
last modified time | relevance | path

Searched refs:dataPoints (Results 1 – 7 of 7) sorted by relevance

/platform_testing/libraries/motion/src/platform/test/motion/golden/
DJsonGoldenSerializer.kt88 val dataPoints = in featureFromJson() constant
90 return Feature(name, dataPoints) in featureFromJson()
98 feature.dataPoints in featureToJson()
113 JSONArray().apply { feature.dataPoints.map { it.asJson() }.forEach(this::put) } in featureToJson()
133 for (dataPoint in feature.dataPoints) { in <lambda>()
DTimeSeries.kt37 require(feature.dataPoints.size == frameIds.size) { in <lambda>()
71 val dataPoints: List<DataPoint<T>> constant in platform.test.motion.golden.Feature
/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DTimeSeriesTest.kt32 listOf(Feature("foo", dataPoints = listOf(1.asDataPoint(), 2.asDataPoint()))) in moreDataPointsThanFrames_throws()
40 val properties = listOf(Feature("foo", dataPoints = listOf(1.asDataPoint()))) in lessDataPointsThanFrames_throws()
/platform_testing/libraries/motion/src/platform/test/motion/truth/
DTimeSeriesSubject.kt97 actualFeature.dataPoints[actualIndex] != in <lambda>()
98 expectedFeature.dataPoints[expectedIndex] in <lambda>()
106 add(fact("| expected", expectedFeature.dataPoints[expectedIndex])) in <lambda>()
107 add(fact("| but was", actualFeature.dataPoints[actualIndex])) in <lambda>()
/platform_testing/libraries/motion/tests/src/platform/test/motion/truth/
DTimeSeriesSubjectTest.kt172 private fun createIntFeature(name: String, dataPoints: Int) = in <lambda>()
173 Feature(name, List(dataPoints) { it.asDataPoint() }) in <lambda>()
174 private fun createStringFeature(name: String, dataPoints: Int) = in <lambda>()
175 Feature(name, List(dataPoints) { it.toString().asDataPoint() }) in <lambda>()
/platform_testing/libraries/motion/compose/tests/src/platform/test/motion/compose/
DMotionTestValuesTest.kt215 assertThat(feature.dataPoints).containsExactly(*expectedDataPoints).inOrder() in TimeSeries()
DComposeToolkitTest.kt634 checkNotNull(motion.timeSeries.features["frameCount"]).dataPoints.map { dataPoint -> in <lambda>()