From fc6859facd5691d0e9f7f486f703145e8f054579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Wed, 20 Nov 2024 20:34:39 -0800 Subject: [PATCH] Cleanup. --- tests/math_test.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/math_test.cpp b/tests/math_test.cpp index 690b55fa5..1eafb6491 100644 --- a/tests/math_test.cpp +++ b/tests/math_test.cpp @@ -75,25 +75,25 @@ TEST_CASE("ceilLog2", "[math]") REQUIRE(ii == bx::ceilLog2(uint8_t(1<(0x55) ); STATIC_REQUIRE( 8 == bx::countBits(0x5555) ); STATIC_REQUIRE(16 == bx::countBits(0x55555555) ); - STATIC_REQUIRE(32 == bx::countBits(0x5555555555555555) ); + STATIC_REQUIRE(32 == bx::countBits(0x5555555555555555ull) ); STATIC_REQUIRE( 8 == bx::countBits(UINT8_MAX) ); STATIC_REQUIRE(16 == bx::countBits(UINT16_MAX) ); @@ -696,7 +696,7 @@ TEST_CASE("copySign", "[math][libm]") TEST_CASE("bitsToFloat, floatToBits, bitsToDouble, doubleToBits", "[math]") { STATIC_REQUIRE(0x12345678u == bx::floatToBits( bx::bitsToFloat (0x12345678u) ) ); - STATIC_REQUIRE(0x123456789abcdef0llu == bx::doubleToBits(bx::bitsToDouble(0x123456789abcdef0llu) ) ); + STATIC_REQUIRE(0x123456789abcdef0ull == bx::doubleToBits(bx::bitsToDouble(0x123456789abcdef0ull) ) ); } TEST_CASE("lerp", "[math]")