• Home
  • Raw
  • Download

Lines Matching defs:TestCase

301     static const struct TestCase {  in testUseApproximateDoubleWhenAble()  struct
302 double d; in testUseApproximateDoubleWhenAble()
303 int32_t maxFrac; in testUseApproximateDoubleWhenAble()
304 RoundingMode roundingMode; in testUseApproximateDoubleWhenAble()
305 bool usesExact; in testUseApproximateDoubleWhenAble()
333 static const struct TestCase { in testHardDoubleConversion() struct
334 double input; in testHardDoubleConversion()
335 const char16_t* expectedOutput; in testHardDoubleConversion()
401 static const struct TestCase { in testToDouble() struct
402 const char* input; // char* for the decNumber constructor in testToDouble()
403 double expected; in testToDouble()
442 struct TestCase { in testNickelRounding() struct
443 double input; in testNickelRounding()
444 int32_t magnitude; in testNickelRounding()
445 UNumberFormatRoundingMode roundingMode; in testNickelRounding()
446 const char16_t* expected; in testNickelRounding()
524 struct TestCase { in testScientificAndCompactSuppressedExponent() struct
525 UnicodeString skeleton; in testScientificAndCompactSuppressedExponent()
526 double input; in testScientificAndCompactSuppressedExponent()
527 const char16_t* expectedString; in testScientificAndCompactSuppressedExponent()
528 int64_t expectedLong; in testScientificAndCompactSuppressedExponent()
529 double expectedDouble; in testScientificAndCompactSuppressedExponent()
530 const char16_t* expectedPlainString; in testScientificAndCompactSuppressedExponent()
531 int32_t expectedSuppressedScientificExponent; in testScientificAndCompactSuppressedExponent()
532 int32_t expectedSuppressedCompactExponent; in testScientificAndCompactSuppressedExponent()
662 struct TestCase { in testSuppressedExponentUnchangedByInitialScaling() struct
663 int32_t input; in testSuppressedExponentUnchangedByInitialScaling()
664 UnicodeString expectedString; in testSuppressedExponentUnchangedByInitialScaling()
665 double expectedNOperand; in testSuppressedExponentUnchangedByInitialScaling()
666 double expectedIOperand; in testSuppressedExponentUnchangedByInitialScaling()
667 double expectedEOperand; in testSuppressedExponentUnchangedByInitialScaling()
668 double expectedCOperand; in testSuppressedExponentUnchangedByInitialScaling()