#include "common.hh"

Functions | |
| int | run_test (iRobot::Create robot, std::stringstream &stream) |
| int run_test | ( | iRobot::Create | robot, | |
| std::stringstream & | stream | |||
| ) |
00022 { 00023 using namespace iRobot; 00024 00025 CHECK_SENSOR_UCHAR (Create::SENSOR_IR, 0, robot.ir () != 0); 00026 CHECK_SENSOR_UCHAR (Create::SENSOR_IR, 100, robot.ir () != 100); 00027 CHECK_SENSOR_UCHAR (Create::SENSOR_IR, 255, robot.ir () != 255); 00028 return TEST_SUCCEED; 00029 }
1.5.4