Lines Matching refs:NumberAnnotatorTest
41 NumberAnnotatorTest::TestingNumberAnnotatorOptions() { in TestingNumberAnnotatorOptions()
116 TEST_F(NumberAnnotatorTest, ClassifiesAndParsesNumberCorrectly) { in TEST_F() argument
127 TEST_F(NumberAnnotatorTest, ClassifiesAndParsesNumberAsFloatCorrectly) { in TEST_F() argument
138 TEST_F(NumberAnnotatorTest, in TEST_F() argument
162 TEST_F(NumberAnnotatorTest, FindsAllIntegerAndFloatNumbersInText) { in TEST_F() argument
191 TEST_F(NumberAnnotatorTest, ClassifiesNonNumberCorrectly) { in TEST_F() argument
204 TEST_F(NumberAnnotatorTest, ClassifiesNumberSelectionCorrectly) { in TEST_F() argument
219 TEST_F(NumberAnnotatorTest, ClassifiesPercentageSignCorrectly) { in TEST_F() argument
230 TEST_F(NumberAnnotatorTest, ClassifiesPercentageWordCorrectly) { in TEST_F() argument
241 TEST_F(NumberAnnotatorTest, ClassifiesNonAsciiPercentageIncorrectSuffix) { in TEST_F() argument
248 TEST_F(NumberAnnotatorTest, ClassifiesNonAsciiFrPercentageCorrectSuffix) { in TEST_F() argument
259 TEST_F(NumberAnnotatorTest, ClassifiesNonAsciiJaPercentageCorrectSuffix) { in TEST_F() argument
283 TEST_F(NumberAnnotatorTest, FindsAllNumbersInText) { in TEST_F() argument
310 TEST_F(NumberAnnotatorTest, FindsNoNumberInText) { in TEST_F() argument
319 TEST_F(NumberAnnotatorTest, FindsNumberWithPunctuation) { in TEST_F() argument
346 TEST_F(NumberAnnotatorTest, FindsFloatNumberWithPunctuation) { in TEST_F() argument
378 TEST_F(NumberAnnotatorTest, HandlesNumbersAtBeginning) { in TEST_F() argument
389 TEST_F(NumberAnnotatorTest, HandlesNegativeNumbers) { in TEST_F() argument
406 TEST_F(NumberAnnotatorTest, FindGoodPercentageContexts) { in TEST_F() argument
447 TEST_F(NumberAnnotatorTest, FindSinglePercentageInContext) { in TEST_F() argument
461 TEST_F(NumberAnnotatorTest, IgnoreBadPercentageContexts) { in TEST_F() argument
476 TEST_F(NumberAnnotatorTest, IgnoreBadPercentagePunctuationContexts) { in TEST_F() argument
486 TEST_F(NumberAnnotatorTest, FindPercentageInNonAsciiContext) { in TEST_F() argument
512 TEST_F(NumberAnnotatorTest, in TEST_F() argument
520 TEST_F(NumberAnnotatorTest, in TEST_F() argument
528 TEST_F(NumberAnnotatorTest, in TEST_F() argument
536 TEST_F(NumberAnnotatorTest, in TEST_F() argument
544 TEST_F(NumberAnnotatorTest, WhenBothPercentSymbolAndSuffixDoesNotParseIt) { in TEST_F() argument
551 TEST_F(NumberAnnotatorTest, in TEST_F() argument
559 TEST_F(NumberAnnotatorTest, WhenNumberWithAdditionalCharactersDoesNotParsesIt) { in TEST_F() argument
566 TEST_F(NumberAnnotatorTest, in TEST_F() argument
582 TEST_F(NumberAnnotatorTest, in TEST_F() argument
590 TEST_F(NumberAnnotatorTest, WhenMultipleMinusSignsDoesNotParsesIt) { in TEST_F() argument
605 TEST_F(NumberAnnotatorTest, WhenMultipleMinusSignsPercentSignDoesNotParsesIt) { in TEST_F() argument
620 TEST_F(NumberAnnotatorTest, WhenPlusMinusSignsDoesNotParsesIt) { in TEST_F() argument
635 TEST_F(NumberAnnotatorTest, WhenMinusPlusSignsDoesNotParsesIt) { in TEST_F() argument
646 TEST_F(NumberAnnotatorTest, WhenMinusSignSuffixDoesNotParsesIt) { in TEST_F() argument
653 TEST_F(NumberAnnotatorTest, WhenMultipleCharSuffixDoesNotParsesIt) { in TEST_F() argument
671 TEST_F(NumberAnnotatorTest, WhenMultipleCharPrefixDoesNotParsesIt) { in TEST_F() argument
681 TEST_F(NumberAnnotatorTest, WhenLowestSupportedNumberParsesIt) { in TEST_F() argument
694 TEST_F(NumberAnnotatorTest, WhenLargestSupportedNumberParsesIt) { in TEST_F() argument
707 TEST_F(NumberAnnotatorTest, WhenLowestSupportedFloatNumberParsesIt) { in TEST_F() argument
720 TEST_F(NumberAnnotatorTest, WhenLargestFloatSupportedNumberParsesIt) { in TEST_F() argument
733 TEST_F(NumberAnnotatorTest, WhenLargeNumberDoesNotParseIt) { in TEST_F() argument
740 TEST_F(NumberAnnotatorTest, WhenMinusInTheMiddleDoesNotParseIt) { in TEST_F() argument
747 TEST_F(NumberAnnotatorTest, WhenSuffixWithoutNumberDoesNotParseIt) { in TEST_F() argument
756 TEST_F(NumberAnnotatorTest, WhenPrefixWithoutNumberDoesNotParseIt) { in TEST_F() argument
765 TEST_F(NumberAnnotatorTest, WhenPrefixAndSuffixWithoutNumberDoesNotParseIt) { in TEST_F() argument
774 TEST_F(NumberAnnotatorTest, ForNumberAnnotationsSetsScoreAndPriorityScore) { in TEST_F() argument
799 TEST_F(NumberAnnotatorTest, in TEST_F() argument
825 TEST_F(NumberAnnotatorTest, ForPercentageAnnotationsSetsScoreAndPriorityScore) { in TEST_F() argument
863 TEST_F(NumberAnnotatorTest, NumberDisabledPercentageEnabledForSmartUsecase) { in TEST_F() argument
897 TEST_F(NumberAnnotatorTest, MathOperatorsNotAnnotatedAsNumbersFindAll) { in TEST_F() argument
917 TEST_F(NumberAnnotatorTest, MathOperatorsNotAnnotatedAsNumbersClassifyText) { in TEST_F() argument
927 TEST_F(NumberAnnotatorTest, SlashSeparatesTwoNumbersFindAll) { in TEST_F() argument
951 TEST_F(NumberAnnotatorTest, SlashSeparatesTwoNumbersClassifyText) { in TEST_F() argument
970 TEST_F(NumberAnnotatorTest, SlashDoesNotSeparatesTwoNumbersFindAll) { in TEST_F() argument
982 TEST_F(NumberAnnotatorTest, BracketsContextAnnotatedFindAll) { in TEST_F() argument
1001 TEST_F(NumberAnnotatorTest, BracketsContextNotAnnotatedFindAll) { in TEST_F() argument
1010 TEST_F(NumberAnnotatorTest, FractionalNumberDotsFindAll) { in TEST_F() argument
1029 TEST_F(NumberAnnotatorTest, NonAsciiDigitsFindAll) { in TEST_F() argument
1051 TEST_F(NumberAnnotatorTest, AnnotatedZeroPrecededNumbersFindAll) { in TEST_F() argument
1071 TEST_F(NumberAnnotatorTest, ZeroAfterDotFindAll) { in TEST_F() argument
1085 TEST_F(NumberAnnotatorTest, NineDotNineFindAll) { in TEST_F() argument