Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst committed Nov 2, 2024
1 parent 3f54d05 commit 5795f0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ using Test

@testset "PseudoLibraries.jl" begin
@testset "Test one library can be loaded" begin
pseudokey = "pd_nc_sr_lda_stringent_0.4.1_upf"
library = PseudoLibrary(pseudokey)
@test library.pseudokey == pseudokey
identifier = "pd_nc_sr_lda_stringent_0.4.1_upf"
library = PseudoLibrary(identifier)
@test library.identifier == identifier
@test library.extension == "upf"
@test library.functional == "lda"
@test library.version == v"0.4.1"
Expand All @@ -21,9 +21,9 @@ using Test
end

@testset "Test all libraries can be loaded" begin
for pseudokey in PseudoLibraries.available_identifiers()
library = PseudoLibrary(pseudokey)
@test library.pseudokey == pseudokey
for identifier in PseudoLibraries.available_identifiers()
library = PseudoLibrary(identifier)
@test library.identifier == identifier
end
end
end

0 comments on commit 5795f0f

Please sign in to comment.