added unit tests

This commit is contained in:
2025-04-16 18:35:50 +03:00
parent 3f6ea010dc
commit bed204a663
6 changed files with 43 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ TEST(UnitTestOpenGL, ForwardVector)
std::print("{}\n", angles.pitch.AsDegrees());
const auto forward2 = omath::opengl_engine::ForwardVector(angles);
std::println("{} {} {}", forward2.x, (int)forward2.y, (int)forward2.z);
std::println("OpenGL {} {} {}", std::round(forward2.x), std::round(forward2.y), std::round(forward2.z));
EXPECT_EQ(forward, omath::opengl_engine::kAbsForward);
}