mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 13:55:34 +00:00
Fix test failure under Arm architecture.
This commit is contained in:
@@ -191,7 +191,7 @@ TEST_CASE("NumericStrings", "[hz][parser]")
|
||||
|
||||
REQUIRE(number_to_string_nolocale(5.F) == "5"); // float
|
||||
REQUIRE(number_to_string_nolocale(1.33) == "1.33"); // double
|
||||
REQUIRE(number_to_string_nolocale(2.123456789123456789123456789L).starts_with("2.1234567891234567") == true);
|
||||
REQUIRE(number_to_string_nolocale(2.123456789123456789123456789L).starts_with("2.12345678912345") == true);
|
||||
|
||||
REQUIRE(number_to_string_nolocale(std::numeric_limits<double>::quiet_NaN()) == "nan");
|
||||
REQUIRE(number_to_string_nolocale(std::numeric_limits<float>::signaling_NaN()) == "nan");
|
||||
|
||||
Reference in New Issue
Block a user