• Home
  • Raw
  • Download

Lines Matching +full:clang +full:- +full:format +full:- +full:3

8  *      http://www.apache.org/licenses/LICENSE-2.0
17 #include "smartselect/token-feature-extractor.h"
34 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST()
48 // clang-format off in TEST()
65 // clang-format on in TEST()
76 // clang-format off in TEST()
96 // clang-format on in TEST()
98 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 0.0})); in TEST()
104 options.chargram_orders = std::vector<int>{1, 2, 3}; in TEST()
118 // clang-format off in TEST()
135 // clang-format on in TEST()
146 // clang-format off in TEST()
166 // clang-format on in TEST()
168 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, -1.0})); in TEST()
190 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0})); in TEST()
202 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0})); in TEST()
300 options.regexp_features.push_back("^[a-z]+$"); // all lower case. in TEST()
301 options.regexp_features.push_back("^[0-9]+$"); // all digits. in TEST()
308 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, -1.0})); in TEST()
313 EXPECT_THAT(dense_features, testing::ElementsAreArray({1.0, -1.0})); in TEST()
318 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, -1.0})); in TEST()
323 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 1.0})); in TEST()
343 // clang-format off in TEST()
346 // clang-format on in TEST()
353 options.chargram_orders = std::vector<int>{1, 2, 3, 4, 5}; in TEST()
400 EXPECT_THAT(dense_features, testing::ElementsAreArray({-1.0, 0.0})); in TEST()