From 3bea5150616cde69306bc3029250b2b129bee363 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Wed, 20 Apr 2022 14:24:07 -0700 Subject: [PATCH] enable all tests --- test/runtests.jl | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 91117f7..f2aade8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -63,20 +63,22 @@ end (2 + 4 + 8) / 3, [2, 4, 8], ), # h, d, w = 2, 4, 8 - # "slender_y.stl" => Properties( - # 10 * π * 0.1^2, - # center, - # diagm([1, 0, 1]) .* (10^2 / 12), - # 2π * 0.05 * (0.1 + 10), - # 0.55,#TODO: figure out why this math doesnt work (10 + 0.2 + 0.2) / 3 - # ), # l_z = 10, r = 0.1 - # "cylinder.stl" => Properties( - # 10 * π * 1^2, - # center, - # diagm([(3 + 10^2) / 12, (3 + 10^2) / 12, 1^2 / 2]), - # 2π * 1 * (1 + 10), - # 2.24,#TODO: figure out why this math doesnt work (10 + 2 + 2) / 3, - # ), # l_z = 10, r = 1 + "slender_y.stl" => Properties( + 10 * π * 0.1^2, + center, + diagm([1, 0, 1]) .* (10^2 / 12), + 2π * 0.05 * (0.1 + 10), + 0.55,#TODO: figure out why this math doesnt work (10 + 0.1 + 0.1) / 3 + [0.1, 10, 0.1], + ), # l_z = 10, r = 0.05 + "cylinder.stl" => Properties( + 10 * π * 1^2, + center, + diagm([(3 + 10^2) / 12, (3 + 10^2) / 12, 1^2 / 2]), + 2π * 1 * (1 + 10), + 2.24,#TODO: figure out why this math doesnt work (10 + 2 + 2) / 3, + [2, 10, 2], + ), # l_z = 10, r = 1 ) @testset "$model" for (model, control) in models path = "test_assets/$model"