Skip to content

Commit

Permalink
Test: add test for transform function
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickm663 committed Jan 30, 2024
1 parent 024b2ce commit 5831daf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ using Test

include("load_data.jl")
include("get_getters.jl")
include("transform.jl")
5 changes: 5 additions & 0 deletions test/transform.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@testset "Test transformation" begin
fn = String("data/Mx_1x1.txt")
df = read_HMD(fn)
@test !isempty(transform(fn, :Male))
end

0 comments on commit 5831daf

Please sign in to comment.