|
| alg1 |
| Calibration algorithm for use in unittests.
|
|
| alg2 |
| Calibration algorithm attribute for use in unittests.
|
|
| col1 |
| Collector module attribute for use in unittests.
|
|
| example_file1 |
| Path to an example file.
|
|
| example_file2 |
|
UnitTest for configuration of Calibration class
Definition at line 25 of file test_framework.py.
◆ setUp()
Create useful objects for each test
Definition at line 30 of file test_framework.py.
32 Create useful objects for each test
35 self.alg1 = TestAlgo()
37 self.alg2 = TestAlgo()
39 self.col1 = b2.register_module(
'CaTest')
41 self.example_file1 = Path(
"example1.root")
42 self.example_file2 = Path(
"example2.root")
43 self.example_file1.touch()
44 self.example_file2.touch()
◆ test_1()
Test whether or not calibration is valid with incorrect setup.
Definition at line 46 of file test_framework.py.
◆ test_2()
Test whether or not calibration is valid with incorrect setup.
Definition at line 53 of file test_framework.py.
◆ test_3()
Test whether or not calibration is valid with incorrect setup.
Definition at line 61 of file test_framework.py.
◆ test_4()
Test whether or not calibration is valid with incorrect setup.
Definition at line 69 of file test_framework.py.
◆ test_5()
Test whether or not calibration is valid with correct setup.
Definition at line 78 of file test_framework.py.
◆ test_6()
Test whether or not calibration is valid with alternative correct setup.
Definition at line 88 of file test_framework.py.
The documentation for this class was generated from the following file: