variable name changed for compatibilty

This commit is contained in:
Uwe Jakobeit
2026-04-06 01:09:03 +02:00
parent 070de3d2d3
commit 144f09ab07

View File

@@ -17,14 +17,15 @@ Notes: [Any relevant details, such as dependencies, usage examples, or kno
#include "util.h" #include "util.h"
using namespace UTILITY_FUNCTIONS; using namespace UTILITY_FUNCTIONS;
using namespace std;
//----------- Test of utility function 'max3' --------- //----------- Test of utility function 'max3' ---------
// Magic numbers for simplicity ( exceptionally allowed here ) // Magic numbers for simplicity ( exceptionally allowed here )
// test if param 3 is max value // test if param 3 is max value
TEST(UtilityTest_max3, param_3_is_max) { TEST(UtilityTest_max3, param_3_is_max) {
double max = max3(1.0f, 2.0f, 3.0f); double ma = max3(1.0f, 2.0f, 3.0f);
EXPECT_DOUBLE_EQ(max, 3.0f); EXPECT_DOUBLE_EQ(ma, 3.0f);
} }
// test if param 2 is max value // test if param 2 is max value