Open S-Dafarra opened 2 years ago
Just a few pointers of similar test that I wrote in the past:
In particular I think it is quite convenient the logic in https://github.com/ros/urdfdom/blob/41838e1f3623e0538a402024b76f296dbbcbed9f/urdf_parser/test/urdf_unit_test.cpp#L94 (added in https://github.com/ros/urdfdom/pull/67) to generate a huge number of possible triplets of angles to test, including angles close to specific values that can highlight corner cases.
Just a few pointers of similar test that I wrote in the past:
In particular I think it is quite convenient the logic in https://github.com/ros/urdfdom/blob/41838e1f3623e0538a402024b76f296dbbcbed9f/urdf_parser/test/urdf_unit_test.cpp#L94 (added in https://github.com/ros/urdfdom/pull/67) to generate a huge number of possible triplets of angles to test, including angles close to specific values that can highlight corner cases.