diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /mfbt/tests/TestFloatingPoint.cpp | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | mfbt/tests/TestFloatingPoint.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mfbt/tests/TestFloatingPoint.cpp b/mfbt/tests/TestFloatingPoint.cpp index 44918cd1c5..fa76e59310 100644 --- a/mfbt/tests/TestFloatingPoint.cpp +++ b/mfbt/tests/TestFloatingPoint.cpp @@ -267,15 +267,15 @@ template <typename T> static void TestEqualsIsForInt32(T aVal) { int32_t i32; A(NumberIsInt32(aVal, &i32)); - MOZ_ASSERT(i32 == aVal); + MOZ_RELEASE_ASSERT(i32 == aVal); A(NumberEqualsInt32(aVal, &i32)); - MOZ_ASSERT(i32 == aVal); + MOZ_RELEASE_ASSERT(i32 == aVal); int64_t i64; A(NumberIsInt64(aVal, &i64)); - MOZ_ASSERT(i64 == aVal); + MOZ_RELEASE_ASSERT(i64 == aVal); A(NumberEqualsInt64(aVal, &i64)); - MOZ_ASSERT(i64 == aVal); + MOZ_RELEASE_ASSERT(i64 == aVal); }; // Used to test Number{Is,Equals}{Int32,Int64} for values that fit in int64 but @@ -288,9 +288,9 @@ static void TestEqualsIsForInt64(T aVal) { int64_t i64; A(NumberIsInt64(aVal, &i64)); - MOZ_ASSERT(i64 == aVal); + MOZ_RELEASE_ASSERT(i64 == aVal); A(NumberEqualsInt64(aVal, &i64)); - MOZ_ASSERT(i64 == aVal); + MOZ_RELEASE_ASSERT(i64 == aVal); }; // Used to test Number{Is,Equals}{Int32,Int64} for values that aren't equal to |