Skip to content

Commit 59bc1ac

Browse files
committed
unit tests added
1. test on the effect sizes&pval calculated 2. test on the plots
1 parent 3594ec8 commit 59bc1ac

21 files changed

Lines changed: 332 additions & 1 deletion

dabest/_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ def __init__(self, control, test, effect_size,
765765
err2 = "is not one of {}".format(kosher_es)
766766
raise ValueError(" ".join([err1, err2]))
767767

768-
if effect_size == "cliffs_delta" and paired:
768+
if effect_size == "cliffs_delta" and is_paired:
769769
err1 = "`paired` is not None; therefore Cliff's delta is not defined."
770770
raise ValueError(err1)
771771

73.3 KB
Loading
74.1 KB
Loading
73.3 KB
Loading
74.7 KB
Loading
75.6 KB
Loading
72.7 KB
Loading
36.2 KB
Loading
36.6 KB
Loading
34.1 KB
Loading

0 commit comments

Comments
 (0)