Searched refs:dataPoints (Results 1 – 7 of 7) sorted by relevance
/platform_testing/libraries/motion/src/platform/test/motion/golden/ |
D | JsonGoldenSerializer.kt | 88 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>()
|
D | TimeSeries.kt | 37 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/ |
D | TimeSeriesTest.kt | 32 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/ |
D | TimeSeriesSubject.kt | 97 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/ |
D | TimeSeriesSubjectTest.kt | 172 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/ |
D | MotionTestValuesTest.kt | 215 assertThat(feature.dataPoints).containsExactly(*expectedDataPoints).inOrder() in TimeSeries()
|
D | ComposeToolkitTest.kt | 634 checkNotNull(motion.timeSeries.features["frameCount"]).dataPoints.map { dataPoint -> in <lambda>()
|