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

Test and not assert

parent b2ee04cc
No related branches found
No related tags found
No related merge requests found
......@@ -115,12 +115,12 @@ end
end
@testset "DETX floor == -1 bug" begin
det = Detector(datapath("detx", "orca_115strings_av20min17mhorizontal_18OMs_alt9mvertical_v2.detx"))
@assert Location(1, 1) == det[1].location
@assert Location(1, 2) == det[2].location
@assert Location(1, 18) == det[18].location
@assert Location(2, 1) == det[19].location
@assert Location(3, 1) == det[37].location
@assert Location(115, 18) == det[2070].location
@test Location(1, 1) == det[1].location
@test Location(1, 2) == det[2].location
@test Location(1, 18) == det[18].location
@test Location(2, 1) == det[19].location
@test Location(3, 1) == det[37].location
@test Location(115, 18) == det[2070].location
end
@testset "DETX writing" begin
for from_version 1:5
......
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