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

@@ -10,11 +10,6 @@
TEST(UnitTestSourceEngine, ForwardVector)
{
const auto forward = omath::source_engine::ForwardVector({});
omath::source_engine::ViewAngles angles;
//angles.pitch = omath::source_engine::PitchAngle::FromDegrees(-90);
const auto forward2 = omath::source_engine::ForwardVector(angles);
//std::println("{} {} {}", forward2.x, forward2.y, forward2.z);
EXPECT_EQ(forward, omath::source_engine::kAbsForward);
}