parent
08ff7ba7fa
commit
bafab2261d
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE ( test_config_attribute_value )
|
|||
x_int = c["x"].to_int();
|
||||
BOOST_CHECK_EQUAL(x_int, 1);
|
||||
x_dbl = c["x"].to_long_long();
|
||||
BOOST_CHECK(std::abs(x_dbl - 1.499) < 1e-6);
|
||||
BOOST_CHECK_EQUAL(x_dbl, 1.0);
|
||||
|
||||
|
||||
c["x"] = 123456789123ll;
|
||||
|
|
Loading…
Add table
Reference in a new issue