/usr/src/rpm/BUILD/libirobot-create-0.1/tests/demo-command-test.cc File Reference

#include "common.hh"

Include dependency graph for demo-command-test.cc:


Functions

int run_test (iRobot::Create &robot, std::stringstream &)

Function Documentation

int run_test ( iRobot::Create robot,
std::stringstream &   
)

00022 {
00023   robot.sendDemoCommand (iRobot::Create::DEMO_COVER);
00024   robot.sendDemoCommand (iRobot::Create::DEMO_ABORT);
00025 
00026   CHECK_FAILURE
00027     (iRobot::InvalidArgument,
00028      robot.sendDemoCommand (static_cast<iRobot::Create::Demo> (42)));
00029 
00030   return TEST_SUCCEED;
00031 }


Generated on Thu Aug 28 14:38:06 2008 for iRobot Create library by  doxygen 1.5.4