mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-27 15:35:18 +00:00
Enable 'h' speciffier tests.
This commit is contained in:
parent
adbf3f8b86
commit
7c14431211
@ -337,13 +337,13 @@ TEST(PrintfTest, Length) {
|
|||||||
TestLength<char>("hh");
|
TestLength<char>("hh");
|
||||||
TestLength<signed char>("hh");
|
TestLength<signed char>("hh");
|
||||||
TestLength<unsigned char>("hh");
|
TestLength<unsigned char>("hh");
|
||||||
/*TestLength<short>("h");
|
TestLength<short>("h");
|
||||||
TestLength<unsigned short>("h");
|
TestLength<unsigned short>("h");
|
||||||
TestLength<long>("l");
|
//TestLength<long>("l");
|
||||||
TestLength<unsigned long>("l");
|
//TestLength<unsigned long>("l");
|
||||||
// TODO: more tests
|
// TODO: more tests
|
||||||
EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", UCHAR_MAX));
|
//EXPECT_EQ("-1", sprintf_int<unsigned char>("%hhd", UCHAR_MAX));
|
||||||
EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX));*/
|
//EXPECT_EQ("255", sprintf_int<unsigned char>("%hhu", UCHAR_MAX));
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: test type specifier
|
// TODO: test type specifier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user