diff --git a/test/unit_test_materials.jl b/test/unit_test_materials.jl index b82c582e..0972275b 100644 --- a/test/unit_test_materials.jl +++ b/test/unit_test_materials.jl @@ -1,5 +1,5 @@ @testset "Materials" verbose=true begin - database = TASOPT.MaterialProperties + database = TASOPT.materials.MaterialProperties @testset "Structural Alloys" begin Al7075 = StructuralAlloy("Al-7075") @test Al7075.ρ == database["Al-7075"]["density"] @@ -17,9 +17,9 @@ @testset "Conductors" begin Cu = Conductor("Cu") @test Cu.ρ == database["Cu"]["density"] - @test TASOPT.resxden(Cu) == 0.000150528 - @test TASOPT.resistivity(Cu) == database["Cu"]["resistivity"] - @test TASOPT.resistivity(Cu, 300.0) ≈ 1.7264923200000005e-8 + @test TASOPT.materials.resxden(Cu) == 0.000150528 + @test TASOPT.materials.resistivity(Cu) == database["Cu"]["resistivity"] + @test TASOPT.materials.resistivity(Cu, 300.0) ≈ 1.7264923200000005e-8 end @testset "Insulators" begin