2 #ifndef STBET4PMAKERIMPTEST_HH
3 #define STBET4PMAKERIMPTEST_HH
5 #include <cppunit/extensions/HelperMacros.h>
10 CPPUNIT_TEST( testGetTrackAndEnergyList_withCut );
11 CPPUNIT_TEST( testGetTrackAndEnergyList_withoutCut );
12 CPPUNIT_TEST( testMake );
13 CPPUNIT_TEST_SUITE_END();
19 void testGetTrackAndEnergyList_withCut();
20 void testGetTrackAndEnergyList_withoutCut();
25 class StjTPCMock :
public StjTPC {
27 StjTPCMock(
int n) : _n(n) { }
28 StjTrackList getTrackList()
31 for(
int i = 0; i < _n; ++i)
39 class StjBEMCMock :
public StjBEMC {
41 StjBEMCMock(
int n) : _n(n) { }
42 StjTowerEnergyList getEnergyList()
44 StjTowerEnergyList ret;
45 for(
int i = 0; i < _n; ++i)
53 class StjEEMCMock :
public StjEEMC {
55 StjEEMCMock(
int n) : _n(n) { }
56 StjTowerEnergyList getEnergyList()
58 StjTowerEnergyList ret;
59 for(
int i = 0; i < _n; ++i)
81 void assertResults(
const char *path);
82 void writeExpected(
const char *path);
95 #endif // STBET4PMAKERIMPTEST_HH