Lines Matching refs:predictions
85 const auto predictions = in TEST_F() local
87 EXPECT_EQ(predictions->size(), 1); in TEST_F()
88 EXPECT_EQ(predictions->Get(0)->language_tag()->str(), "cs"); in TEST_F()
89 EXPECT_GT(predictions->Get(0)->confidence_score(), 0); in TEST_F()
90 EXPECT_LE(predictions->Get(0)->confidence_score(), 1); in TEST_F()
102 const auto predictions = in TEST_F() local
104 EXPECT_EQ(predictions->size(), 2); in TEST_F()
105 EXPECT_EQ(predictions->Get(0)->language_tag()->str(), "zh"); in TEST_F()
106 EXPECT_GT(predictions->Get(0)->confidence_score(), 0); in TEST_F()
107 EXPECT_LE(predictions->Get(0)->confidence_score(), 1); in TEST_F()
108 EXPECT_EQ(predictions->Get(1)->language_tag()->str(), "ja"); in TEST_F()
109 EXPECT_TRUE(predictions->Get(0)->confidence_score() >= in TEST_F()
110 predictions->Get(1)->confidence_score()); in TEST_F()