Add fmt::to_string (#326)

This commit is contained in:
Victor Zverovich
2016-05-18 19:54:52 -07:00
parent d00b43c592
commit b6c0cf9683
5 changed files with 56 additions and 3 deletions

15
test/string-test.cc Normal file
View File

@@ -0,0 +1,15 @@
/*
Tests of string utilities
Copyright (c) 2012 - 2016, Victor Zverovich
All rights reserved.
For the license information refer to format.h.
*/
#include "fmt/string.h"
#include "gtest/gtest.h"
TEST(StringTest, ToString) {
EXPECT_EQ("42", fmt::to_string(42));
}