PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
A program that will execute unit tests on XiaData. More...
#include <vector>
#include <cmath>
#include <UnitTest++.h>
#include "UnitTestSampleData.hpp"
#include "XiaData.hpp"
Go to the source code of this file.
Functions | |
TEST_FIXTURE (XiaData, Test_GetBaseline) | |
TEST_FIXTURE (XiaData, Test_GetId) | |
TEST_FIXTURE (XiaData, Test_GetSetCfdForcedTrig) | |
TEST_FIXTURE (XiaData, Test_GetSetCfdFractionalTime) | |
TEST_FIXTURE (XiaData, Test_GetSetCfdTriggerSourceBit) | |
TEST_FIXTURE (XiaData, Test_GetSetChannelNumber) | |
TEST_FIXTURE (XiaData, Test_GetSetCrateNumber) | |
TEST_FIXTURE (XiaData, Test_GetSetEnergy) | |
TEST_FIXTURE (XiaData, Test_GetSetEnergySums) | |
TEST_FIXTURE (XiaData, Test_GetSetEventTimeHigh) | |
TEST_FIXTURE (XiaData, Test_GetSetEventTimeLow) | |
TEST_FIXTURE (XiaData, Test_GetSetExternalTimeHigh) | |
TEST_FIXTURE (XiaData, Test_GetSetExternalTimeLow) | |
TEST_FIXTURE (XiaData, Test_GetSetPileup) | |
TEST_FIXTURE (XiaData, Test_GetSetQdc) | |
TEST_FIXTURE (XiaData, Test_GetSetSaturation) | |
TEST_FIXTURE (XiaData, Test_GetSetSlotNumber) | |
TEST_FIXTURE (XiaData, Test_GetSetTrace) | |
TEST_FIXTURE (XiaData, Test_GetSetVirtualChannel) | |
TEST_FIXTURE (XiaData, Test_GetTime) | |
TEST (Test_CompareTime) | |
This will test that the Time for the rhs is greater than the lhs. More... | |
TEST (Test_CompareId) | |
TEST (Test_Equality) | |
TEST (Test_LessThanOperator) | |
int | main (int argv, char *argc[]) |
Variables | |
XiaData | lhs |
XiaData | rhs |
A program that will execute unit tests on XiaData.
Definition in file unittest-XiaData.cpp.
int main | ( | int | argv, |
char * | argc[] | ||
) |
Definition at line 165 of file unittest-XiaData.cpp.
TEST | ( | Test_CompareTime | ) |
This will test that the Time for the rhs is greater than the lhs.
Definition at line 125 of file unittest-XiaData.cpp.
TEST | ( | Test_CompareId | ) |
TEST | ( | Test_Equality | ) |
TEST | ( | Test_LessThanOperator | ) |
TEST_FIXTURE | ( | XiaData | , |
Test_GetBaseline | |||
) |
Definition at line 20 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetId | |||
) |
Definition at line 25 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetCfdForcedTrig | |||
) |
Definition at line 33 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetCfdFractionalTime | |||
) |
Definition at line 38 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetCfdTriggerSourceBit | |||
) |
Definition at line 43 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetChannelNumber | |||
) |
Definition at line 48 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetCrateNumber | |||
) |
Definition at line 53 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetEnergy | |||
) |
Definition at line 58 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetEnergySums | |||
) |
Definition at line 63 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetEventTimeHigh | |||
) |
Definition at line 69 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetEventTimeLow | |||
) |
Definition at line 74 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetExternalTimeHigh | |||
) |
Definition at line 79 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetExternalTimeLow | |||
) |
Definition at line 84 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetPileup | |||
) |
Definition at line 89 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetQdc | |||
) |
Definition at line 94 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetSaturation | |||
) |
Definition at line 99 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetSlotNumber | |||
) |
Definition at line 104 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetTrace | |||
) |
Definition at line 109 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetSetVirtualChannel | |||
) |
Definition at line 114 of file unittest-XiaData.cpp.
TEST_FIXTURE | ( | XiaData | , |
Test_GetTime | |||
) |
Definition at line 119 of file unittest-XiaData.cpp.
XiaData lhs |
Definition at line 18 of file unittest-XiaData.cpp.
XiaData rhs |
Definition at line 18 of file unittest-XiaData.cpp.