Lines 55-61
BEGIN_TEST(testPrintf)
Link Here
|
55 |
CHECK(print_one("27270", "%zu", (size_t) 27270)); |
55 |
CHECK(print_one("27270", "%zu", (size_t) 27270)); |
56 |
CHECK(print_one("27270", "%" PRIuSIZE, (size_t) 27270)); |
56 |
CHECK(print_one("27270", "%" PRIuSIZE, (size_t) 27270)); |
57 |
CHECK(print_one("hello", "he%so", "ll")); |
57 |
CHECK(print_one("hello", "he%so", "ll")); |
58 |
CHECK(print_one("(null)", "%s", zero())); |
|
|
59 |
CHECK(print_one("0", "%p", (char *) 0)); |
58 |
CHECK(print_one("0", "%p", (char *) 0)); |
60 |
CHECK(print_one("h", "%c", 'h')); |
59 |
CHECK(print_one("h", "%c", 'h')); |
61 |
CHECK(print_one("1.500000", "%f", 1.5f)); |
60 |
CHECK(print_one("1.500000", "%f", 1.5f)); |
62 |
- |
|
|