#include "common.hh"

Functions | |
| int | run_test (iRobot::Create &robot, std::stringstream &) |
| 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 }
1.5.4