Browse Subversion Repository
Contents of /runCtrl/TestRunCtrl.cpp
Parent Directory
| Revision Log
Revision 191 -
( show annotations)
( download)
( as text)
Fri Jan 4 02:49:36 2008 UTC
(16 years, 3 months ago)
by satofumi
File MIME type: text/x-c++src
File size: 806 byte(s)
using namespace beego
| 1 |
/*! |
| 2 |
\file |
| 3 |
\brief RunCtrll ‚̃eƒXƒg |
| 4 |
|
| 5 |
\author Satofumi KAMIMURA |
| 6 |
|
| 7 |
$Id$ |
| 8 |
*/ |
| 9 |
|
| 10 |
#include "TestRunCtrl.h" |
| 11 |
#include "RunCtrl.h" |
| 12 |
|
| 13 |
|
| 14 |
CPPUNIT_TEST_SUITE_REGISTRATION(TestRunCtrl); |
| 15 |
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(TestRunCtrl, "TestRunCtrl"); |
| 16 |
|
| 17 |
using namespace beego; |
| 18 |
|
| 19 |
|
| 20 |
void TestRunCtrl::compileTest(void) { |
| 21 |
|
| 22 |
RunCtrl run; |
| 23 |
|
| 24 |
run.follow_line(NULL, Position<int>(0, 0, deg(0))); |
| 25 |
run.follow_circle(NULL, Grid<int>(0, 0), 0); |
| 26 |
|
| 27 |
run.stop_toLine(NULL, Position<int>(0, 0, deg(0))); |
| 28 |
run.move_length(0); |
| 29 |
|
| 30 |
run.rotate_angle(deg(0)); |
| 31 |
run.stop_toAngle(NULL, deg(0)); |
| 32 |
|
| 33 |
run.getLength_toLine(NULL, Position<int>(0, 0, deg(0))); |
| 34 |
run.getLength_toPoint(NULL, Grid<int>(0, 0)); |
| 35 |
|
| 36 |
run.getAngle_toDirection(); |
| 37 |
run.getAngle_toPoint(); |
| 38 |
run.getAngle_toLine(); |
| 39 |
|
| 40 |
// !!! run.getParams.* |
| 41 |
// !!! run.setParams.* |
| 42 |
} |
| |