Skip to content

Commit

Permalink
fix(test): fix segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Dec 27, 2023
1 parent 45d0593 commit 7f87774
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tests/TestVobsG2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,19 @@ TEST_SUITE("vobs") {
});

auto const& target_frames = vob.target_frames;
CHECK_EQ(target_frames[2]->time, 0.0f);
CHECK_EQ(target_frames[2]->roll_angle, 0.0f);
CHECK_EQ(target_frames[2]->fov_scale, 1.0f);
CHECK_EQ(target_frames[2]->motion_type, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[2]->motion_type_fov, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[2]->motion_type_roll, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[2]->motion_type_time_scale, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[2]->tension, 0.0f);
CHECK_EQ(target_frames[2]->cam_bias, 0.0f);
CHECK_EQ(target_frames[2]->continuity, 0.0f);
CHECK_EQ(target_frames[2]->time_scale, 1.0f);
CHECK_FALSE(target_frames[2]->time_fixed);
CHECK_EQ(target_frames[2]->original_pose,
CHECK_EQ(target_frames[0]->time, 0.0f);
CHECK_EQ(target_frames[0]->roll_angle, 0.0f);
CHECK_EQ(target_frames[0]->fov_scale, 1.0f);
CHECK_EQ(target_frames[0]->motion_type, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[0]->motion_type_fov, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[0]->motion_type_roll, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[0]->motion_type_time_scale, zenkit::CameraMotion::SMOOTH);
CHECK_EQ(target_frames[0]->tension, 0.0f);
CHECK_EQ(target_frames[0]->cam_bias, 0.0f);
CHECK_EQ(target_frames[0]->continuity, 0.0f);
CHECK_EQ(target_frames[0]->time_scale, 1.0f);
CHECK_FALSE(target_frames[0]->time_fixed);
CHECK_EQ(target_frames[0]->original_pose,
glm::mat4x4 {
{1.0f, 0.0f, 0.0f, 0.0f},
{0.0f, 1.0f, 0.0f, 0.0f},
Expand Down

0 comments on commit 7f87774

Please sign in to comment.