From c08b7b12a636cb78ffa4291f92bc99c2c6e23f74 Mon Sep 17 00:00:00 2001 From: IRainman Date: Wed, 12 Mar 2025 21:26:31 +0300 Subject: [PATCH] tests updated --- tests/basictest.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/basictest.cpp b/tests/basictest.cpp index cbeb11e..0859c46 100644 --- a/tests/basictest.cpp +++ b/tests/basictest.cpp @@ -1323,9 +1323,7 @@ TEST_CASE("double.general") { TEST_CASE("double.decimal_point") { constexpr auto options = [] { - fast_float::parse_options ret{}; - ret.decimal_point = ','; - return ret; + return fast_float::parse_options(fast_float::chars_format::general, ',', 10); }(); // infinities @@ -1642,9 +1640,7 @@ TEST_CASE("float.general") { TEST_CASE("float.decimal_point") { constexpr auto options = [] { - fast_float::parse_options ret{}; - ret.decimal_point = ','; - return ret; + return fast_float::parse_options(fast_float::chars_format::general, ',', 10); }(); // infinity