Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
roskamsh committed Nov 5, 2024
1 parent a0660d4 commit 0a5d729
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/outputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ include(joinpath(TESTDIR, "testutils.jl"))
tmle = failed_estimate["TMLE"]
@test tmle["PVALUE"] === NaN
@test tmle["EFFECT_SIZE"] == "Failed"

# Check subsetted results & optional QQplot generation
sub_results = results[1,:]
qqplot(joinpath(tmpdir, "Non_existent_QQ.png"), sub_results)
@test !isfile(tmpdir, "Non_existent_QQ.png")
end

end
Expand Down

0 comments on commit 0a5d729

Please sign in to comment.