Skip to content
Snippets Groups Projects
Commit ded49c4d authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add copy operator tests

parent 38e8a62d
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,38 @@
#include <iostream>
BOOST_AUTO_TEST_CASE(testExample)
#include <RobotAPI/libraries/armem_objects/aron/ObjectInstance.aron.generated.h>
BOOST_AUTO_TEST_CASE(test_ObjectType_copy_assignment)
{
BOOST_TEST_MESSAGE("Constructor");
armarx::objpose::arondto::ObjectType lhs, rhs;
BOOST_TEST_MESSAGE("Assignment");
BOOST_CHECK_NO_THROW(lhs = rhs);
BOOST_TEST_MESSAGE("Done");
}
BOOST_AUTO_TEST_CASE(test_ObjectAttachmentInfo_copy_assignment)
{
BOOST_TEST_MESSAGE("Constructor");
armarx::objpose::arondto::ObjectAttachmentInfo lhs, rhs;
BOOST_TEST_MESSAGE("Assignment");
BOOST_CHECK_NO_THROW(lhs = rhs);
BOOST_TEST_MESSAGE("Done");
}
BOOST_AUTO_TEST_CASE(test_ObjectPose_copy_assignment)
{
BOOST_TEST_MESSAGE("Constructor");
armarx::objpose::arondto::ObjectPose lhs, rhs;
BOOST_TEST_MESSAGE("Assignment");
BOOST_CHECK_NO_THROW(lhs = rhs);
BOOST_CHECK_EQUAL(true, true);
BOOST_TEST_MESSAGE("Done");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment