ICU-3499 Add some tests.

X-SVN-Rev: 14887
This commit is contained in:
George Rhoten 2004-04-06 21:32:41 +00:00
parent eda343b40a
commit d042b45786
2 changed files with 2 additions and 0 deletions

View file

@ -886,6 +886,7 @@ static void TestFprintfFormat(void) {
TestFPrintFormat("%8C", (UChar)0x65, "%8c", (char)0x65);
TestFPrintFormat("%-8C", (UChar)0x65, "%-8c", (char)0x65);
TestFPrintFormat("%f", 1.23456789, "%f", 1.23456789);
TestFPrintFormat("%10f", 1.23456789, "%10f", 1.23456789);
TestFPrintFormat("%-10f", 1.23456789, "%-10f", 1.23456789);
TestFPrintFormat("%10f", 123.456789, "%10f", 123.456789);

View file

@ -344,6 +344,7 @@ static void TestSprintfFormat(void) {
TestSPrintFormat("%8C", (UChar)0x65, "%8c", (char)0x65);
TestSPrintFormat("%-8C", (UChar)0x65, "%-8c", (char)0x65);
TestSPrintFormat("%f", 1.23456789, "%f", 1.23456789);
TestSPrintFormat("%10f", 1.23456789, "%10f", 1.23456789);
TestSPrintFormat("%-10f", 1.23456789, "%-10f", 1.23456789);
TestSPrintFormat("%10f", 123.456789, "%10f", 123.456789);