Lines Matching refs:label2
239 int label2;
240 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 8}, tokens, &label2));
241 EXPECT_EQ(label, label2);
242 ASSERT_TRUE(feature_processor2.SpanToLabel({6, 9}, tokens, &label2));
243 EXPECT_EQ(label, label2);
244 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 9}, tokens, &label2));
245 EXPECT_EQ(label, label2);
248 ASSERT_TRUE(feature_processor2.SpanToLabel({4, 9}, tokens, &label2));
249 EXPECT_EQ(kInvalidLabel, label2);
250 ASSERT_TRUE(feature_processor2.SpanToLabel({5, 10}, tokens, &label2));
251 EXPECT_EQ(kInvalidLabel, label2);
258 ASSERT_TRUE(feature_processor3.SpanToLabel({6, 15}, tokens, &label2));
259 EXPECT_NE(kInvalidLabel, label2);
260 feature_processor3.LabelToTokenSpan(label2, &token_span);
266 EXPECT_EQ(label2, label3);
268 EXPECT_EQ(label2, label3);
270 EXPECT_EQ(label2, label3);