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

Adapt tests for cherenkov photons

parent a88c43c3
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ using Test
= cherenkov(track, hits[1].pos)
for fieldname fieldnames(CherenkovPhoton)
if fieldname == :impact_angle
@test ismissing(getfield(, fieldname))
@test isnan(getfield(, fieldname))
continue
end
@test getfield(γs[1], fieldname) == getfield(, fieldname)
......
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