mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 07:35:45 +00:00
Fix a broken test case.
The issue was found with commit bc2e59082bb9bc0e7736882429bd82fa81379690
This commit is contained in:
parent
08ff7ba7fa
commit
bafab2261d
@ -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…
x
Reference in New Issue
Block a user