Skip to content

Commit

Permalink
macros syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed May 6, 2024
1 parent dd60105 commit 9e7125b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ burnin = 100
return flatchain, means, stds
end

@Test.testset "Emcee" begin
Test.@testset "Emcee" begin
for _ in 1:10
flatchain, means, stds = testemcee()
for i = 1:numdims
@Test.test isapprox(Statistics.mean(flatchain[i, :]), means[i], atol=(0.5 * stds[i]))
@Test.test isapprox(Statistics.std(flatchain[i, :]), stds[i], atol=(5 * stds[i]))
Test.@test isapprox(Statistics.mean(flatchain[i, :]), means[i], atol=(0.5 * stds[i]))
Test.@test isapprox(Statistics.std(flatchain[i, :]), stds[i], atol=(5 * stds[i]))
end
end
end
Expand Down

0 comments on commit 9e7125b

Please sign in to comment.