CbmRoot
compareLink.h
Go to the documentation of this file.
1 #ifndef COMPARELINK_H
2 #define COMPARELINK_H 1
3 
4 #include "CbmLink.h"
5 
7  Int_t file,
8  Int_t entry,
9  Int_t index,
10  Double_t weight) {
11  Int_t intRetVal {-111};
12  Float_t floatRetVal {-111};
13 
14  intRetVal = test.GetFile();
15  EXPECT_EQ(file, intRetVal);
16 
17  intRetVal = test.GetEntry();
18  EXPECT_EQ(entry, intRetVal);
19 
20  intRetVal = test.GetIndex();
21  EXPECT_EQ(index, intRetVal);
22 
23  floatRetVal = test.GetWeight();
24  EXPECT_FLOAT_EQ(weight, floatRetVal);
25 }
26 
27 #endif //COMPARELINK_H