Skip to content
Snippets Groups Projects
Commit 179a8420 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

'Update test to work with both old and new Gaudi versions (as we are still...

'Update test to work with both old and new Gaudi versions (as we are still building against both).' (EventInfo-00-11-02-10)

	* Tagging EventInfo-00-11-02-10.
	* test/MergedEventInfo_test.cxx: Update to work with both old and
	new Gaudi versions (as we are still building against both).


Former-commit-id: a40cd52f7e42994a2c083a2764b3d96a96df6d6c
parent f278ec60
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,8 @@ using namespace std;
int main() {
cout << "*** MergedEventInfo_test starts ***" << endl;
MergedEventInfo empty;
assert( static_cast<EventID::number_type>(-1) == empty.event_ID()->run_number() );
assert( static_cast<EventID::number_type>(-1) == empty.event_ID()->run_number() || // Gaudi 27
0 == empty.event_ID()->run_number()); // Gaudi 26
EventInfo anInfo(new EventID(1, 23), new EventType(), new TriggerInfo());
MergedEventInfo merged(anInfo, 3, 33);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment