mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
tests updated
This commit is contained in:
parent
929e98182e
commit
c08b7b12a6
@ -1323,9 +1323,7 @@ TEST_CASE("double.general") {
|
|||||||
|
|
||||||
TEST_CASE("double.decimal_point") {
|
TEST_CASE("double.decimal_point") {
|
||||||
constexpr auto options = [] {
|
constexpr auto options = [] {
|
||||||
fast_float::parse_options ret{};
|
return fast_float::parse_options(fast_float::chars_format::general, ',', 10);
|
||||||
ret.decimal_point = ',';
|
|
||||||
return ret;
|
|
||||||
}();
|
}();
|
||||||
|
|
||||||
// infinities
|
// infinities
|
||||||
@ -1642,9 +1640,7 @@ TEST_CASE("float.general") {
|
|||||||
|
|
||||||
TEST_CASE("float.decimal_point") {
|
TEST_CASE("float.decimal_point") {
|
||||||
constexpr auto options = [] {
|
constexpr auto options = [] {
|
||||||
fast_float::parse_options ret{};
|
return fast_float::parse_options(fast_float::chars_format::general, ',', 10);
|
||||||
ret.decimal_point = ',';
|
|
||||||
return ret;
|
|
||||||
}();
|
}();
|
||||||
|
|
||||||
// infinity
|
// infinity
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user