Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Oct 26, 2020
1 parent 026434e commit fef1d57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/model_dom.cc
Original file line number Diff line number Diff line change
Expand Up @@ -288,19 +288,19 @@ TEST(DOMRoot, MultiNestedModel)

const std::string innerLinkNestedName = innerModelNestedName + "::inner_link";
EXPECT_TRUE(outerModel->LinkNameExists(innerLinkNestedName));
EXPECT_EQ(outerModel->LinkByIndex(0),
EXPECT_EQ(innerModel->LinkByIndex(0),
outerModel->LinkByName(innerLinkNestedName));
EXPECT_NE(nullptr, outerModel->LinkByName(innerLinkNestedName));

std::string innerJointNestedName = innerModelNestedName + "::inner_joint";
EXPECT_TRUE(outerModel->JointNameExists(innerJointNestedName));
EXPECT_EQ(outerModel->JointByIndex(0),
EXPECT_EQ(innerModel->JointByIndex(0),
outerModel->JointByName(innerJointNestedName));
EXPECT_NE(nullptr, outerModel->JointByName(innerJointNestedName));

std::string innerFrameNestedName = innerModelNestedName + "::inner_frame";
EXPECT_TRUE(outerModel->FrameNameExists(innerFrameNestedName));
EXPECT_EQ(outerModel->FrameByIndex(0),
EXPECT_EQ(innerModel->FrameByIndex(0),
outerModel->FrameByName(innerFrameNestedName));
EXPECT_NE(nullptr, outerModel->FrameByName(innerFrameNestedName));
}
Expand Down

0 comments on commit fef1d57

Please sign in to comment.