NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
BaseLineProcessorTest.h
1 
2 #ifndef BASELINEPROCESSORTEST_H
3 #define BASELINEPROCESSORTEST_H
4 
5 #include <iostream>
6 #include <cppunit/extensions/HelperMacros.h>
7 #include "BaseLineProcessor.hpp"
8 #include "TraceDefs.h"
9 
10 #ifndef USING_TRANAL_NAMESPACE
11 using namespace TrAnal;
12 #define USING_TRANAL_NAMESPACE
13 #endif
14 
15 
16 class BaseLineProcessorTest : public CppUnit::TestFixture
17 {
18  private:
19  TraceS null_tr;
20  TraceS simple_tr;
21  TraceS step_tr;
22 
23  public:
24  // Define the test suite
25  CPPUNIT_TEST_SUITE( BaseLineProcessorTest );
26 
27  CPPUNIT_TEST ( testProcessReturnTypeIsBaseLineProcResult );
28  CPPUNIT_TEST ( testProcess );
29  CPPUNIT_TEST ( testRange );
30  CPPUNIT_TEST ( testOffset );
31 
32  CPPUNIT_TEST_SUITE_END();
33 
34  public:
35  // Begin the standard methods
36  void setUp();
37  void tearDown();
38 
39  // Begin tests
40  void testProcessReturnTypeIsBaseLineProcResult();
41  void testProcess();
42  void testRange();
43 
44  void testOffset();
45 
46 
47 };
48 
49 #endif
Definition: Trace.hpp:40
Definition: BaseLineProcessorTest.h:16
Definition: AlgoIterator.hpp:12