Browse Subversion Repository
Contents of /common/TestMovingAverage.h
Parent Directory
| Revision Log
Revision 118 -
( show annotations)
( download)
( as text)
Mon Oct 22 22:35:53 2007 UTC
(16 years, 5 months ago)
by satofumi
File MIME type: text/x-chdr
File size: 649 byte(s)
add common/MovingAverage.h
| 1 |
|
| 2 |
#ifndef TEST_MOVING_AVERAGE_H |
| 3 |
#define TEST_MOVING_AVERAGE_H |
| 4 |
|
| 5 |
/*! |
| 6 |
\file |
| 7 |
\brief MovingAverage のテスト |
| 8 |
|
| 9 |
\author Satofumi KAMIMURA |
| 10 |
|
| 11 |
$Id$ |
| 12 |
*/ |
| 13 |
|
| 14 |
#include <cppunit/extensions/HelperMacros.h> |
| 15 |
|
| 16 |
|
| 17 |
/*! |
| 18 |
\brief MovingAverage のテストクラス |
| 19 |
*/ |
| 20 |
class MovingAverageTest : public CppUnit::TestFixture { |
| 21 |
CPPUNIT_TEST_SUITE(MovingAverageTest); |
| 22 |
CPPUNIT_TEST(compileTest); |
| 23 |
CPPUNIT_TEST(firstValueTest); |
| 24 |
CPPUNIT_TEST(setAverageValueTest); |
| 25 |
CPPUNIT_TEST(pushTest); |
| 26 |
CPPUNIT_TEST_SUITE_END(); |
| 27 |
|
| 28 |
public: |
| 29 |
void compileTest(void); |
| 30 |
void firstValueTest(void); |
| 31 |
void setAverageValueTest(void); |
| 32 |
void pushTest(void); |
| 33 |
}; |
| 34 |
|
| 35 |
#endif /* !TEST_MOVING_AVERAGE_H */ |
|