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])