stamped-position.cpp
Go to the documentation of this file.
00001 #include <iostream>
00002 #include <sstream>
00003 #include <gtest/gtest.h>
00004 
00005 #include "walk_interfaces/stamped-position.hh"
00006 
00007 TEST(TestStampedPosition, empty)
00008 {
00009   walk::StampedPosition3d stampedPosition;
00010   stampedPosition.position.setIdentity();
00011 
00012   walk::HomogeneousMatrix3d I;
00013   I.setIdentity();
00014 
00015   walk::TimeDuration zero;
00016   EXPECT_EQ(zero, stampedPosition.duration);
00017   EXPECT_EQ(I, stampedPosition.position);
00018 }
00019 
00020 int main(int argc, char **argv)
00021 {
00022   testing::InitGoogleTest(&argc, argv);
00023   return RUN_ALL_TESTS();
00024 }


walk_interfaces
Author(s): Thomas Moulard/thomas.moulard@gmail.com, Antonio El Khoury
autogenerated on Sat Dec 28 2013 17:05:21