using Test using stlProcess using FileIO using MeshIO using LinearAlgebra @testset "simple cube stl" begin stl = load(raw"test\test_assets\cubeblender.stl") props = get_mass_properties(stl) @test props.volume == 8.0 @test all(props.center_of_gravity .== 0.0) @test all(eigvals(props.inertia) .≈ (5.0 + 1 / 3)) end