Fix literal floats evaluating wrong values
This commit is contained in:
@@ -57,6 +57,6 @@ TEST_CASE( "Float Division", "[integration]" ) {
|
||||
REQUIRE(!script.Diagnostics -> HasErrors());
|
||||
script.Evaluate();
|
||||
auto lastValue = script.GetLastValue();
|
||||
REQUIRE(*any_cast<double>(lastValue) == Approx(10.730));
|
||||
REQUIRE(*any_cast<double>(lastValue) == Approx(10.7305524239));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user