3 #ifndef AVERAGINGRANGEITERATORTEST_H
4 #define AVERAGINGRANGEITERATORTEST_H
7 #include <cppunit/extensions/HelperMacros.h>
8 #include "AveragingRangeIterator.h"
10 #ifndef USING_TRANAL_NAMESPACE
12 #define USING_TRANAL_NAMESPACE
31 CPPUNIT_TEST ( testConstructor );
32 CPPUNIT_TEST ( testIsDoneOnNullTrace );
33 CPPUNIT_TEST ( testMoveToInBounds );
34 CPPUNIT_TEST ( testMoveToOutOfBounds );
35 CPPUNIT_TEST ( testIncrementInBounds );
36 CPPUNIT_TEST ( testIncrementOutOfBounds );
37 CPPUNIT_TEST ( testSimpleAveragingInRange );
38 CPPUNIT_TEST ( testAveragingOutOfRange );
39 CPPUNIT_TEST ( testHardBoundary );
40 CPPUNIT_TEST ( testFirst );
41 CPPUNIT_TEST ( testAveraging );
42 CPPUNIT_TEST ( testRangeLongerThanTrace );
44 CPPUNIT_TEST_SUITE_END();
52 void testConstructor();
53 void testIsDoneOnNullTrace();
54 void testMoveToInBounds();
55 void testMoveToOutOfBounds();
57 void testIncrementInBounds();
58 void testIncrementOutOfBounds();
60 void testSimpleAveragingInRange();
61 void testAveragingOutOfRange();
63 void testHardBoundary();
68 void testRangeLongerThanTrace();
Definition: AlgoIterator.hpp:12
Definition: AveragingRangeIteratorTest.h:16