From 34487e09bf70ca5af7b0612c8f7fc5cfda7775fe Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Sat, 30 Jan 2021 19:22:31 -0700 Subject: [PATCH] was allowing too much error in tests --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 53853bd..bc92206 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -23,7 +23,7 @@ import AstroHelper: Quaternion, Section,bending_moment, shear_stress, shear_flow @testset "Section" begin - tolerance = 1e-5 + tolerance = 1e-3 complist(a, b) = abs(sum(a .- b)) < tolerance s = Section([2,1,0.5,0.5,0.75,0.75,2], [0,12,24,24,16,8,0], [0,0,0,6,7,8,9]) @test all([s.Ixx == 126.075 s.Iyy == 571.2 s.Ixy ≈ -28.2])