• Home
  • Raw
  • Download

Lines Matching refs:sparse_features

46   std::vector<int> sparse_features;  in TEST_F()  local
49 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
52 EXPECT_THAT(sparse_features, in TEST_F()
75 sparse_features.clear(); in TEST_F()
77 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
80 EXPECT_THAT(sparse_features, in TEST_F()
116 std::vector<int> sparse_features; in TEST_F() local
119 extractor.Extract(Token{"Hello", 0, 5}, true, &sparse_features, in TEST_F()
122 EXPECT_THAT(sparse_features, in TEST_F()
126 sparse_features.clear(); in TEST_F()
128 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
131 EXPECT_THAT(sparse_features, in TEST_F()
145 std::vector<int> sparse_features; in TEST_F() local
148 extractor.Extract(Token{"Hělló", 0, 5}, true, &sparse_features, in TEST_F()
151 EXPECT_THAT(sparse_features, in TEST_F()
174 sparse_features.clear(); in TEST_F()
176 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
179 EXPECT_THAT(sparse_features, in TEST_F()
215 std::vector<int> sparse_features; in TEST_F() local
218 extractor.Extract(Token{"Hělló", 0, 5}, true, &sparse_features, in TEST_F()
221 EXPECT_THAT(sparse_features, in TEST_F()
225 sparse_features.clear(); in TEST_F()
227 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
230 EXPECT_THAT(sparse_features, testing::ElementsAreArray({ in TEST_F()
246 std::vector<int> sparse_features; in TEST_F() local
248 extractor.Extract(Token{"Hělló", 0, 5}, true, &sparse_features, in TEST_F()
252 sparse_features.clear(); in TEST_F()
254 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
258 sparse_features.clear(); in TEST_F()
260 extractor.Extract(Token{"Ř", 23, 29}, false, &sparse_features, in TEST_F()
264 sparse_features.clear(); in TEST_F()
266 extractor.Extract(Token{"ř", 23, 29}, false, &sparse_features, in TEST_F()
280 std::vector<int> sparse_features; in TEST_F() local
282 extractor.Extract(Token{"9:30am", 0, 6}, true, &sparse_features, in TEST_F()
288 EXPECT_THAT(sparse_features, testing::ElementsAreArray(sparse_features2)); in TEST_F()
292 EXPECT_THAT(sparse_features, in TEST_F()
304 std::vector<int> sparse_features; in TEST_F() local
306 extractor.Extract(Token{"9:30am", 0, 6}, true, &sparse_features, in TEST_F()
312 EXPECT_THAT(sparse_features, testing::ElementsAreArray(sparse_features2)); in TEST_F()
316 EXPECT_THAT(sparse_features, in TEST_F()
328 std::vector<int> sparse_features; in TEST_F() local
330 extractor.Extract(Token{"AABB", 0, 6}, true, &sparse_features, in TEST_F()
336 EXPECT_THAT(sparse_features, testing::ElementsAreArray(sparse_features2)); in TEST_F()
340 EXPECT_THAT(sparse_features, testing::ElementsAreArray(sparse_features2)); in TEST_F()
352 std::vector<int> sparse_features; in TEST_F() local
354 extractor.Extract(Token{"ŘŘ", 0, 6}, true, &sparse_features, &dense_features); in TEST_F()
359 EXPECT_THAT(sparse_features, testing::ElementsAreArray(sparse_features2)); in TEST_F()
374 std::vector<int> sparse_features; in TEST_F() local
376 extractor.Extract(Token{"abCde", 0, 6}, true, &sparse_features, in TEST_F()
381 extractor.Extract(Token{"abcde", 0, 6}, true, &sparse_features, in TEST_F()
386 extractor.Extract(Token{"12c45", 0, 6}, true, &sparse_features, in TEST_F()
391 extractor.Extract(Token{"12345", 0, 6}, true, &sparse_features, in TEST_F()
407 std::vector<int> sparse_features; in TEST_F() local
410 &sparse_features, &dense_features); in TEST_F()
412 EXPECT_THAT(sparse_features, in TEST_F()
465 std::vector<int> sparse_features; in TEST_F() local
468 extractor.Extract(Token(), false, &sparse_features, &dense_features); in TEST_F()
470 EXPECT_THAT(sparse_features, in TEST_F()
491 std::vector<int> sparse_features; in TEST_F() local
494 extractor.Extract(Token{"Hěllo", 0, 5}, true, &sparse_features, in TEST_F()
497 EXPECT_THAT(sparse_features, in TEST_F()
523 sparse_features.clear(); in TEST_F()
525 extractor.Extract(Token{"world!", 23, 29}, false, &sparse_features, in TEST_F()
528 EXPECT_THAT(sparse_features, testing::ElementsAreArray({ in TEST_F()