mirror of https://github.com/Icinga/icinga2.git
parent
81acd34f52
commit
e8e4268a28
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue