Added test cases for floats
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
using namespace const_fmt;
|
||||
|
||||
int main() {
|
||||
constexpr auto s = "abcdef {:9.3}"_const_fmt(-876.3);
|
||||
constexpr auto s = "abcdef {:09.2}"_const_fmt(-876.3);
|
||||
|
||||
// Convert s (with a type of 'std::array<char, N>') into something
|
||||
// writable to std::cout
|
||||
|
||||
Reference in New Issue
Block a user