diff options
Diffstat (limited to 'tests/test_fileio.py')
-rw-r--r-- | tests/test_fileio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_fileio.py b/tests/test_fileio.py index 2911976..3869a9f 100644 --- a/tests/test_fileio.py +++ b/tests/test_fileio.py @@ -5,7 +5,8 @@ import numpy as np class TestFileIO(unittest.TestCase): def test_file_write_and_read(self): - ev = event.Event(1, event.Vertex('e-', (0,0,1), (1,0,0), (0,1,0), 15)) + ev = event.Event(1, event.Vertex('e-', pos=(0,0,1), dir=(1,0,0), + ke=15.0, pol=(0,1,0))) photons_beg = root.make_photon_with_arrays(1) photons_beg.pos[0] = (1,2,3) |