Skip to content

Commit

Permalink
Expand radicarbon age CI uncertainty in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brenhinkeller committed Feb 28, 2024
1 parent 8bc02ea commit 3735591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testRadiocarbon.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ hiatus.Duration_sigma = [ 30.5, 20.0 ]
# Test that results match expectation, within some tolerance
@test mdl.Age isa Vector{Float64}
@test mdl.Age [8333.5, 8287.1, 8107.1, 8060.9, 8026.9, 7995.2, 7961.9, 7948.6, 7932.1, 7834.3, 7816.5, 7801.6] atol=20
@test mdl.Age_025CI [8212.9, 8139.0, 7983.7, 7969.3, 7918.1, 7886.5, 7869.3, 7850.7, 7826.0, 7733.7, 7722.3, 7712.0] atol=30
@test mdl.Age_975CI [8407.4, 8395.6, 8240.9, 8164.6, 8153.6, 8133.0, 8076.8, 8043.1, 8028.6, 7940.7, 7917.2, 7903.2] atol=30
@test mdl.Age_025CI [8212.9, 8139.0, 7983.7, 7969.3, 7918.1, 7886.5, 7869.3, 7850.7, 7826.0, 7733.7, 7722.3, 7712.0] atol=40
@test mdl.Age_975CI [8407.4, 8395.6, 8240.9, 8164.6, 8153.6, 8133.0, 8076.8, 8043.1, 8028.6, 7940.7, 7917.2, 7903.2] atol=40
# Test that all age-depth models are in stratigraphic order
@test all([issorted(x, rev=true) for x in eachcol(agedist)])

0 comments on commit 3735591

Please sign in to comment.