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