From 3735591f6d695fb0c374bbb27ccde45ec248de87 Mon Sep 17 00:00:00 2001 From: "C. Brenhin Keller" Date: Wed, 28 Feb 2024 16:44:52 -0500 Subject: [PATCH] Expand radicarbon age CI uncertainty in tests --- test/testRadiocarbon.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testRadiocarbon.jl b/test/testRadiocarbon.jl index 2deea53..2506d12 100644 --- a/test/testRadiocarbon.jl +++ b/test/testRadiocarbon.jl @@ -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)])