NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
RiseTimeProcessorTest.h
1 
2 #ifndef RISETIMEPROCESSORTEST_H
3 #define RISETIMEPROCESSORTEST_H
4 
5 #include <iostream>
6 #include <cppunit/extensions/HelperMacros.h>
7 #include "RiseTimeProcessor.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 class RiseTimeProcessorTest : public CppUnit::TestFixture
17 {
18 
19  private:
20  TraceS null_tr;
21  TraceS simple_tr;
22  TraceS negslope_tr;
23 
24  public:
25  // Define the test suite
26  CPPUNIT_TEST_SUITE( RiseTimeProcessorTest );
27 
28  CPPUNIT_TEST ( testProcess );
29  CPPUNIT_TEST ( testT90AndT10Same );
30 
31  CPPUNIT_TEST_SUITE_END();
32 
33  public:
34  // Begin the standard methods
35  void setUp();
36  void tearDown();
37 
38  // Begin tests
39  void testProcess();
40  void testT90AndT10Same();
41 
42 };
43 
44 #endif
Definition: Trace.hpp:40
Definition: RiseTimeProcessorTest.h:16
Definition: AlgoIterator.hpp:12