Skip to content

Commit 68e6944

Browse files
Improve codecov for patch
1 parent 4c0a92c commit 68e6944

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test-jet-types.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ pj_beam = PseudoJet(0.0, 0.0, 5.0, 5.0)
2323

2424
@test LorentzVectorBase.mass(pj) JetReconstruction.mass(pj)
2525
@test LorentzVectorBase.mass2(pj) JetReconstruction.mass2(pj)
26+
@test LorentzVectorBase.spatial_magnitude2(pj) JetReconstruction.p2(pj)
27+
@test LorentzVectorBase.cos_theta(pj) JetReconstruction.CosTheta(pj)
28+
2629

2730
# This isn't really a test of the output, but rather that the object
2831
# can be printed without error
@@ -48,6 +51,8 @@ eej_beam = EEJet(0.0, 0.0, 5.0, 5.0)
4851

4952
@test LorentzVectorBase.mass(eej) JetReconstruction.mass(eej)
5053
@test LorentzVectorBase.mass2(eej) JetReconstruction.mass2(eej)
54+
@test LorentzVectorBase.spatial_magnitude2(eej) JetReconstruction.p2(eej)
55+
@test LorentzVectorBase.cos_theta(eej) JetReconstruction.CosTheta(eej)
5156

5257
# This isn't really a test of the output, but rather that the object
5358
# can be printed without error

0 commit comments

Comments
 (0)