From 6fc2c71b9ad762aa1237ad31c47cefc8b5ffab51 Mon Sep 17 00:00:00 2001 From: capo-at-the-5th-fret Date: Fri, 22 Nov 2024 02:31:28 -0500 Subject: [PATCH] Fixed the is_even and is_odd test table types --- tests/cmath_tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cmath_tests.cpp b/tests/cmath_tests.cpp index dbf7ded..3c46a29 100644 --- a/tests/cmath_tests.cpp +++ b/tests/cmath_tests.cpp @@ -91,7 +91,7 @@ TEMPLATE_LIST_TEST_CASE("is_even using signed types", "[cmath][is_even]", using T = TestType; static_assert(std::is_signed_v); - auto [x, expected] = GENERATE(table( + auto [x, expected] = GENERATE(table( { { T{ 0 }, true }, { T{ 1 }, false }, @@ -113,7 +113,7 @@ TEMPLATE_LIST_TEST_CASE("is_even using unsigned types", "[cmath][is_even]", using T = TestType; static_assert(std::is_unsigned_v); - auto [x, expected] = GENERATE(table( + auto [x, expected] = GENERATE(table( { { T{ 0 }, true }, { T{ 1 }, false }, @@ -131,7 +131,7 @@ TEMPLATE_LIST_TEST_CASE("is_odd using signed types", "[cmath][is_odd]", using T = TestType; static_assert(std::is_signed_v); - auto [x, expected] = GENERATE(table( + auto [x, expected] = GENERATE(table( { { T{ 0 }, false }, { T{ 1 }, true }, @@ -153,7 +153,7 @@ TEMPLATE_LIST_TEST_CASE("is_odd using unsigned types", "[cmath][is_odd]", using T = TestType; static_assert(std::is_unsigned_v); - auto [x, expected] = GENERATE(table( + auto [x, expected] = GENERATE(table( { { T{ 0 }, false }, { T{ 1 }, true },