Skip to content

Commit

Permalink
Add main function to joint transmitted wrench test
Browse files Browse the repository at this point in the history
Fix the test added in #495.

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Mar 23, 2023
1 parent adde787 commit 66bc383
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/common_test/joint_transmitted_wrench_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -432,4 +432,11 @@ TYPED_TEST(JointTransmittedWrenchFixture, ContactForces)
wrenchAtMotorJointInJoint, 1e-4));
}


int main(int argc, char *argv[])
{
::testing::InitGoogleTest(&argc, argv);
if (!JointTransmittedWrenchFeaturesTest<
JointTransmittedWrenchFeatureList>::init(argc, argv))
return -1;
return RUN_ALL_TESTS();
}

0 comments on commit 66bc383

Please sign in to comment.