From 6322a5159d733b3149f1a70bd72dc7eb2e3dc47b 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: Mon, 22 Aug 2022 07:20:10 -0700 Subject: [PATCH] Cleanup. --- tests/sort_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sort_test.cpp b/tests/sort_test.cpp index 5681afc..495a90e 100644 --- a/tests/sort_test.cpp +++ b/tests/sort_test.cpp @@ -83,8 +83,8 @@ TEST_CASE("lower/upperBound int32_t", "") const uint32_t resultLowerBound[] = { 0, 1, 4, 4, 5, 6, 9, 11, 12, 13 }; const uint32_t resultUpperBound[] = { 1, 4, 4, 5, 6, 9, 11, 12, 13, 14 }; - static_assert(10 == BX_COUNTOF(resultLowerBound) ); - static_assert(10 == BX_COUNTOF(resultUpperBound) ); + STATIC_REQUIRE(10 == BX_COUNTOF(resultLowerBound) ); + STATIC_REQUIRE(10 == BX_COUNTOF(resultUpperBound) ); for (int32_t key = test[0], keyMax = test[BX_COUNTOF(test)-1], ii = 0; key <= keyMax; ++key, ++ii) {