Searched refs:pressureRmses (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | MotionPredictorMetricsManager_test.cpp | 567 std::vector<float> pressureRmses; in computePressureRmses() local 582 pressureRmses.push_back(rmse(pressureErrors)); in computePressureRmses() 584 return pressureRmses; in computePressureRmses() 663 std::vector<float> pressureRmses = computePressureRmses(groundTruthPoints, predictionPoints); in TEST() local 665 ASSERT_EQ(TEST_MAX_NUM_PREDICTIONS, pressureRmses.size()); in TEST() 666 EXPECT_FLOAT_EQ(rmse(std::vector<float>{0.0f, 0.0f, -0.5f, 0.5f, 0.0f}), pressureRmses[0]); in TEST() 667 EXPECT_FLOAT_EQ(rmse(std::vector<float>{0.0f, -0.5f, -0.5f, 1.0f}), pressureRmses[1]); in TEST() 668 EXPECT_FLOAT_EQ(rmse(std::vector<float>{-0.5f, -0.5f, -0.5f}), pressureRmses[2]); in TEST() 669 EXPECT_FLOAT_EQ(rmse(std::vector<float>{-0.5f, -0.5f}), pressureRmses[3]); in TEST() 670 EXPECT_FLOAT_EQ(rmse(std::vector<float>{-0.5f}), pressureRmses[4]); in TEST()
|