Functions
ProcessConfiguration_t.cpp File Reference
#include "canvas/Persistency/Provenance/ProcessConfiguration.h"
#include <cassert>

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( void  )

Definition at line 8 of file ProcessConfiguration_t.cpp.

9 {
11  assert(pc1 == pc1);
13  assert(pc1 == pc2);
14 #if 0
15  pc2.processName() = "reco2";
17  pc3.processName() = "reco3";
18 
19  art::ProcessConfigurationID id1 = pc1.id();
20  art::ProcessConfigurationID id2 = pc2.id();
21  art::ProcessConfigurationID id3 = pc3.id();
22 
23  assert(id1 != id2);
24  assert(id2 != id3);
25  assert(id3 != id1);
26 
28  pc4.processName() = "reco2";
29  art::ProcessConfigurationID id4 = pc4.id();
30  assert(pc4 == pc2);
31  assert (id4 == id2);
32 #endif // 0
33 }
ProcessConfigurationID id() const
std::string const & processName() const noexcept
Definition: Hash.h:32