/usr/src/rpm/BUILD/libirobot-create-0.1/tests/ir-sensor-test.cc File Reference

#include "common.hh"

Include dependency graph for ir-sensor-test.cc:


Functions

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

Function Documentation

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 }


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