Skip to content

Commit b47f9bf

Browse files
committed
ign_TEST: expect joint_axis_infinite_limits valid
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
1 parent a55f9e3 commit b47f9bf

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/ign_TEST.cc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,17 @@ TEST(check, IGN_UTILS_TEST_DISABLED_ON_WIN32(SDF))
260260
EXPECT_EQ("Valid.\n", output) << output;
261261
}
262262

263+
// Check an SDF file with the infinite values for joint axis limits.
264+
// This is a valid file.
265+
{
266+
std::string path = pathBase +"/joint_axis_infinite_limits.sdf";
267+
268+
// Check joint_axis_infinite_limits.sdf
269+
std::string output =
270+
custom_exec_str(IgnCommand() + " sdf -k " + path + SdfVersion());
271+
EXPECT_EQ("Valid.\n", output) << output;
272+
}
273+
263274
// Check an SDF file with the second link specified as the canonical link.
264275
// This is a valid file.
265276
{

0 commit comments

Comments
 (0)