Skip to content
Snippets Groups Projects
Verified Commit 755f7cd2 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Add preliminary tests

parent ba5ad024
No related branches found
No related tags found
1 merge request!70Unhide counter from mc_trks
Pipeline #26355 failed
......@@ -490,6 +490,12 @@ class TestOfflineTracks(unittest.TestCase):
self.f.events[3:5][1].tracks.fitinf[9][2],
)
class TestMisc(unittest.TestCase):
def test_mc_tracks_counter(self):
r = OfflineReader(data_path("gseagen/DAT000001.gSeaGen.1.aa.root"))
np.testing.assert_allclose([1,2,3], r.mc_tracks.counter[0])
class TestBranchIndexingMagic(unittest.TestCase):
def setUp(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment