mirror of
https://gitlab.com/MisterBiggs/stl-process.git
synced 2025-08-03 20:11:31 +00:00
enable all tests
This commit is contained in:
@@ -63,20 +63,22 @@ end
|
|||||||
(2 + 4 + 8) / 3,
|
(2 + 4 + 8) / 3,
|
||||||
[2, 4, 8],
|
[2, 4, 8],
|
||||||
), # h, d, w = 2, 4, 8
|
), # h, d, w = 2, 4, 8
|
||||||
# "slender_y.stl" => Properties(
|
"slender_y.stl" => Properties(
|
||||||
# 10 * π * 0.1^2,
|
10 * π * 0.1^2,
|
||||||
# center,
|
center,
|
||||||
# diagm([1, 0, 1]) .* (10^2 / 12),
|
diagm([1, 0, 1]) .* (10^2 / 12),
|
||||||
# 2π * 0.05 * (0.1 + 10),
|
2π * 0.05 * (0.1 + 10),
|
||||||
# 0.55,#TODO: figure out why this math doesnt work (10 + 0.2 + 0.2) / 3
|
0.55,#TODO: figure out why this math doesnt work (10 + 0.1 + 0.1) / 3
|
||||||
# ), # l_z = 10, r = 0.1
|
[0.1, 10, 0.1],
|
||||||
# "cylinder.stl" => Properties(
|
), # l_z = 10, r = 0.05
|
||||||
# 10 * π * 1^2,
|
"cylinder.stl" => Properties(
|
||||||
# center,
|
10 * π * 1^2,
|
||||||
# diagm([(3 + 10^2) / 12, (3 + 10^2) / 12, 1^2 / 2]),
|
center,
|
||||||
# 2π * 1 * (1 + 10),
|
diagm([(3 + 10^2) / 12, (3 + 10^2) / 12, 1^2 / 2]),
|
||||||
# 2.24,#TODO: figure out why this math doesnt work (10 + 2 + 2) / 3,
|
2π * 1 * (1 + 10),
|
||||||
# ), # l_z = 10, r = 1
|
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
|
@testset "$model" for (model, control) in models
|
||||||
path = "test_assets/$model"
|
path = "test_assets/$model"
|
||||||
|
Reference in New Issue
Block a user