Add another uint128 test

This commit is contained in:
Nathan Hourt 2014-10-15 18:00:31 -04:00
parent c3a6b40188
commit 2b76b6d5fe

View file

@ -17,5 +17,6 @@ BOOST_AUTO_TEST_CASE(real128_test)
BOOST_CHECK_EQUAL(string(real128(0)), string(real128("0")));
BOOST_CHECK_EQUAL(real128("12345.6789").to_uint64(), 12345);
BOOST_CHECK_EQUAL((real128("12345.6789")*10000).to_uint64(), 123456789);
BOOST_CHECK_EQUAL(string(real128("12345.6789")), string("12345.6789"));
}