test_3d_lines:fix test result for test_3d_lines

This commit is contained in:
xianglunkai 2022-03-28 22:44:21 +08:00 committed by Randy Mackay
parent 4513546845
commit abb0bf34d2
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ TEST(Lines3dTests, ClosestDistBetweenLinePoint)
// check protection agains null length
const Vector3f intersection_null = Vector3f::point_on_line_closest_to_other_point(Vector3f{1.0f, 1.0f, 1.0f}, Vector3f{1.0f, 1.0f, 1.0f}, Vector3f{0.0f, 5.0f, 5.0f});
EXPECT_VECTOR3F_EQ((Vector3f{0.0f, 0.0f, 0.0f}), intersection_null);
EXPECT_VECTOR3F_EQ((Vector3f{1.0f, 1.0f, 1.0f}), intersection_null);
}
TEST(Lines3dTests, SegmentToSegmentCloestPoint)