Skip to content

Commit

Permalink
update material tests
Browse files Browse the repository at this point in the history
  • Loading branch information
askprash committed Jul 31, 2024
1 parent feec48c commit f32d8de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit_test_materials.jl
Original file line number Diff line number Diff line change
@@ -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"]
Expand All @@ -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
Expand Down

0 comments on commit f32d8de

Please sign in to comment.