diff options
author | nat-goodspeed <nat@lindenlab.com> | 2024-05-30 13:44:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-30 13:44:54 -0400 |
commit | 94794138f1fd5c7468c3f96f2d30bf34a810c4f4 (patch) | |
tree | b3112eeeeed45fc865f0272459be77a75ef9c1a0 /indra | |
parent | a8b6112eb7cbdb65fa16f88e1bba473fecefb5a6 (diff) | |
parent | 3ccfcf9c8f0a6c27af6bfcfaca9c27b52e8a2e48 (diff) |
Merge pull request #1393 from secondlife/nat/maint-b-tests
Turn on LL_TESTS for Maint B.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llcommon/tests/llstring_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/tests/llstring_test.cpp b/indra/llcommon/tests/llstring_test.cpp index 3fadfa5334..ea5b0ee5fc 100644 --- a/indra/llcommon/tests/llstring_test.cpp +++ b/indra/llcommon/tests/llstring_test.cpp @@ -377,7 +377,7 @@ namespace tut { F32 value; std::string str_val("2147483647"); //0x7FFFFFFF - ensure("1: convertToF32 failed", LLStringUtil::convertToF32(str_val, value) && value == 2147483647); + ensure("1: convertToF32 failed", LLStringUtil::convertToF32(str_val, value) && value == 2147483647.f); str_val = "0"; ensure("2: convertToF32 failed", LLStringUtil::convertToF32(str_val, value) && value == 0); @@ -399,7 +399,7 @@ namespace tut { F64 value; std::string str_val("9223372036854775807"); //0x7FFFFFFFFFFFFFFF - ensure("1: convertToF64 failed", LLStringUtil::convertToF64(str_val, value) && value == 9223372036854775807LL); + ensure("1: convertToF64 failed", LLStringUtil::convertToF64(str_val, value) && value == 9223372036854775807.); str_val = "0"; ensure("2: convertToF64 failed", LLStringUtil::convertToF64(str_val, value) && value == 0.0F); |