maths: use qualified min/max functions
This commit is contained in:
parent
994121f2bf
commit
2cd7ce0aca
@ -59,8 +59,8 @@ main (int, char **) {
|
||||
|
||||
test_comparisons ();
|
||||
|
||||
CHECK_EQ (min (-2, 0, 2), -2);
|
||||
CHECK_EQ (max (-2, 0, 2), 2);
|
||||
CHECK_EQ (util::min (-2, 0, 2), -2);
|
||||
CHECK_EQ (util::max (-2, 0, 2), 2);
|
||||
|
||||
CHECK_EQ (pow2 (2), 4);
|
||||
CHECK_EQ (pow2 (4), 16);
|
||||
|
Loading…
Reference in New Issue
Block a user