Skip to content

Commit 0a5d729

Browse files
committed
add test case
1 parent a0660d4 commit 0a5d729

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/outputs.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ include(joinpath(TESTDIR, "testutils.jl"))
8383
tmle = failed_estimate["TMLE"]
8484
@test tmle["PVALUE"] === NaN
8585
@test tmle["EFFECT_SIZE"] == "Failed"
86+
87+
# Check subsetted results & optional QQplot generation
88+
sub_results = results[1,:]
89+
qqplot(joinpath(tmpdir, "Non_existent_QQ.png"), sub_results)
90+
@test !isfile(tmpdir, "Non_existent_QQ.png")
8691
end
8792

8893
end

0 commit comments

Comments
 (0)