Test get_comparison
Definition at line 24 of file test_comparison.py.
◆ setUp()
Set up testing of get_comparison
Definition at line 27 of file test_comparison.py.
28 """ Set up testing of get_comparison """
32 "kolmogorov":
"kolmogorov",
33 "andersondarling":
"andersondarling",
35 gaus_th1f = ROOT.TH1F(
"gaus",
"gaus", 5, -3, 3)
36 gaus_th1f.FillRandom(
"gaus", 1000)
37 exponential_th1f = ROOT.TH1F(
"expo",
"expo", 5, -3, 3)
38 exponential_th1f.FillRandom(
"expo", 1000)
40 self.obj_pairs: List[Tuple[ROOT.TObject, ROOT.TObject, str]] = [
41 (gaus_th1f, gaus_th1f,
"equal"),
42 (gaus_th1f, exponential_th1f,
"error"),
◆ test_get_comparison()
def test_get_comparison |
( |
|
self | ) |
|
Use get_tester on the metaoptions to get the requested
comparison object and run that on two identical ROOT object.
Check that this indeed returns 'equal'.
Definition at line 45 of file test_comparison.py.
The documentation for this class was generated from the following file: