Improve test coverage for the Convert class

refs #7805
This commit is contained in:
Gunnar Beutner 2014-11-23 09:58:33 +01:00
parent 81acd34f52
commit e8e4268a28
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ BOOST_AUTO_TEST_CASE(tostring)
BOOST_CHECK(Convert::ToString(7.5) == "7.5");
BOOST_CHECK(Convert::ToString("hello") == "hello");
String str = "hello";
BOOST_CHECK(Convert::ToString(str) == "hello");
BOOST_CHECK(Convert::ToString(Value(7)) == "7");
BOOST_CHECK(Convert::ToString(Value(7.5)) == "7.5");
BOOST_CHECK(Convert::ToString(Value("hello")) == "hello");