Add a unit test for Convert::ToLong(double) - fails

(cherry picked from commit b1362aeb9b)
This commit is contained in:
Michael Friedrich 2019-01-30 14:23:57 +01:00
parent b888e06682
commit b93ad277a1
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ BOOST_AUTO_TEST_CASE(tolong)
BOOST_CHECK_THROW(Convert::ToLong("7a"), boost::exception);
BOOST_CHECK(Convert::ToLong(Value(-7)) == -7);
BOOST_CHECK(Convert::ToLong(3.141386593) == 3);
}
BOOST_AUTO_TEST_CASE(todouble)