diff options
| author | realstealthninja <68815218+realstealthninja@users.noreply.github.com> | 2026-09-22 05:57:18 +0530 |
|---|---|---|
| committer | realstealthninja <68815218+realstealthninja@users.noreply.github.com> | 2026-09-22 06:10:27 +0530 |
| commit | 59753ce85d561b21acc6b58fcd302b6abe79a04d (patch) | |
| tree | a6505a73fad29860014107d1f9c0593f11587907 | |
| parent | 95cb54a77632eef2c0593c86891c957687f96e58 (diff) | |
chore: use cmath in cpp
| -rw-r--r-- | gunit_tests/unitTest.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gunit_tests/unitTest.h b/gunit_tests/unitTest.h index 9c0c4db..9304f0b 100644 --- a/gunit_tests/unitTest.h +++ b/gunit_tests/unitTest.h @@ -1,13 +1,11 @@ #pragma once -#include <math.h> +#include <cmath> #define CHECK_MAT(_xx, _yx, _xy, _yy, _x0, _y0) \ -EXPECT_FLOAT_EQ(mat.xx, _xx); \ + EXPECT_FLOAT_EQ(mat.xx, _xx); \ EXPECT_FLOAT_EQ(mat.yx, _yx); \ EXPECT_FLOAT_EQ(mat.xy, _xy); \ EXPECT_FLOAT_EQ(mat.yy, _yy); \ EXPECT_FLOAT_EQ(mat.x0, _x0); \ EXPECT_FLOAT_EQ(mat.y0, _y0); - - |