ProcessHistory_t.cpp
Go to the documentation of this file.
4 
5 #include <cassert>
6 
7 int
8 main()
9 {
11  // assert(pnl1 == pnl1);
13  assert(pnl1 == pnl2);
14  art::ProcessConfiguration const iHLT{
16  art::ProcessConfiguration const iRECO{
18  pnl2.push_back(iHLT);
19  // assert(pnl1 != pnl2);
21  pnl3.push_back(iHLT);
22  pnl3.push_back(iRECO);
23 
24  art::ProcessHistoryID const id1{pnl1.id()};
25  art::ProcessHistoryID const id2{pnl2.id()};
26  art::ProcessHistoryID const id3{pnl3.id()};
27 
28  // assert(id1 != id2);
29  // assert(id2 != id3);
30  // assert(id3 != id1);
31 
33  pnl4.push_back(iHLT);
34  art::ProcessHistoryID id4 = pnl4.id();
35  assert(pnl4 == pnl2);
36  assert(id4 == id2);
37 
39  pnl5 = pnl3;
40  // assert(pnl5 == pnl3);
41  // assert(pnl5.id() == pnl3.id());
42 }
ProcessHistoryID id() const
int main()
std::string const & getCanvasReleaseVersion()
void push_back(const_reference t)