NSCL DDAS  1.0
Support for XIA DDAS at the NSCL
 All Classes Namespaces Files Functions Variables Macros Pages
TraceSTest.h
1 
2 #ifndef BASELINEPROCESSORTEST_H
3 #define BASELINEPROCESSORTEST_H
4 
5 #include <iostream>
6 #include <stdint.h>
7 #include <cppunit/extensions/HelperMacros.h>
8 #include "Trace.hpp"
9 
10 #ifndef USING_TRANAL_NAMESPACE
11 using namespace TrAnal;
12 #define USING_TRANAL_NAMESPACE
13 #endif
14 
15 class TraceSTest : public CppUnit::TestFixture
16 {
17 
18  private:
19  TraceT<uint16_t>* trace;
20  std::vector<uint16_t> vec;
21 
22 
23  public:
24  // Define the test suite
25  CPPUNIT_TEST_SUITE( TraceSTest );
26 
27  CPPUNIT_TEST ( testArrayAccess );
28  CPPUNIT_TEST ( testConstructor1 );
29  CPPUNIT_TEST ( testLength );
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 testLength();
40  void testArrayAccess();
41  void testConstructor1();
42 
43 
44 };
45 
46 #endif
Definition: TraceSTest.h:15
Definition: AlgoIterator.hpp:12