From 144f09ab07fb93acdf2ac7f983393006192ff45c Mon Sep 17 00:00:00 2001 From: Uwe Jakobeit Date: Mon, 6 Apr 2026 01:09:03 +0200 Subject: [PATCH] variable name changed for compatibilty --- tests/util-test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/util-test.cpp b/tests/util-test.cpp index ef12875..1207944 100644 --- a/tests/util-test.cpp +++ b/tests/util-test.cpp @@ -17,14 +17,15 @@ Notes: [Any relevant details, such as dependencies, usage examples, or kno #include "util.h" using namespace UTILITY_FUNCTIONS; +using namespace std; //----------- Test of utility function 'max3' --------- // Magic numbers for simplicity ( exceptionally allowed here ) // test if param 3 is max value TEST(UtilityTest_max3, param_3_is_max) { - double max = max3(1.0f, 2.0f, 3.0f); - EXPECT_DOUBLE_EQ(max, 3.0f); + double ma = max3(1.0f, 2.0f, 3.0f); + EXPECT_DOUBLE_EQ(ma, 3.0f); } // test if param 2 is max value