Lines Matching defs:TestCase
300 static const struct TestCase { in testUseApproximateDoubleWhenAble() struct
301 double d; in testUseApproximateDoubleWhenAble()
302 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
303 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
304 bool usesExact; in testUseApproximateDoubleWhenAble()
332 static const struct TestCase { in testHardDoubleConversion() struct
333 double input; in testHardDoubleConversion()
334 const char16_t* expectedOutput; in testHardDoubleConversion()
362 static const struct TestCase { in testToDouble() struct
363 const char* input; // char* for the decNumber constructor in testToDouble()
364 double expected; in testToDouble()
403 struct TestCase { in testNickelRounding() struct
404 double input; in testNickelRounding()
405 int32_t magnitude; in testNickelRounding()
406 UNumberFormatRoundingMode roundingMode; in testNickelRounding()
407 const char16_t* expected; in testNickelRounding()
476 struct TestCase { in testCompactDecimalSuppressedExponent() struct
477 UnicodeString skeleton; in testCompactDecimalSuppressedExponent()
478 double input; in testCompactDecimalSuppressedExponent()
479 const char16_t* expectedString; in testCompactDecimalSuppressedExponent()
480 int64_t expectedLong; in testCompactDecimalSuppressedExponent()
481 double expectedDouble; in testCompactDecimalSuppressedExponent()
482 const char16_t* expectedPlainString; in testCompactDecimalSuppressedExponent()
483 int32_t expectedSuppressedExponent; in testCompactDecimalSuppressedExponent()
600 struct TestCase { in testSuppressedExponentUnchangedByInitialScaling() struct
601 int32_t input; in testSuppressedExponentUnchangedByInitialScaling()
602 UnicodeString expectedString; in testSuppressedExponentUnchangedByInitialScaling()
603 double expectedNOperand; in testSuppressedExponentUnchangedByInitialScaling()
604 double expectedIOperand; in testSuppressedExponentUnchangedByInitialScaling()
605 double expectedEOperand; in testSuppressedExponentUnchangedByInitialScaling()