Home
last modified time | relevance | path

Searched refs:numeric_double_value (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/annotator/number/
Dnumber_test-include.cc79 MATCHER_P(IsCorrectNumericDoubleValue, numeric_double_value,
80 "numeric double value is " + std::to_string(numeric_double_value)) {
81 return arg.numeric_double_value == numeric_double_value;
124 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F()
135 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345.12345); in TEST_F()
152 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F()
159 EXPECT_FLOAT_EQ(classification_result.numeric_double_value, 12345); in TEST_F()
212 EXPECT_EQ(classification_result.numeric_double_value, 14); in TEST_F()
227 EXPECT_EQ(classification_result.numeric_double_value, 99); in TEST_F()
238 EXPECT_EQ(classification_result.numeric_double_value, 15); in TEST_F()
[all …]
Dnumber.cc284 classification.numeric_double_value = double_value; in CreateAnnotatedSpan()
/external/libtextclassifier/native/annotator/
Dtypes.h443 double numeric_double_value; member
462 numeric_double_value(0.), in ClassificationResult()
470 numeric_double_value(0.), in ClassificationResult()
479 numeric_double_value(0.), in ClassificationResult()
Dtypes.cc184 fabs(a.numeric_double_value - b.numeric_double_value) < 0.001 && in ClassificationResultsEqualIgnoringScoresAndSerializedEntityData()
Dannotator_jni.cc299 classification_result.numeric_double_value); in ClassificationResultWithIntentsToJObject()