Skip to content

Commit f510e1c

Browse files
Update test-clinicalPedigree.R
1 parent 804ab9c commit f510e1c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

tests/testthat/test-clinicalPedigree.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ test_that("affected_fill_column creates filled/unfilled nodes", {
1212
config = list(
1313
sex_color_include = FALSE,
1414
affected_fill_code_affected = 1,
15-
affected_fill_color_affected = "red"
15+
affected_fill_code_unaffected = 0,
16+
affected_fill_color_affected = "red",
17+
affected_fill_color_unaffected = "black"
18+
19+
1620
)
1721
)
1822
expect_s3_class(p, "gg")
@@ -93,6 +97,7 @@ test_that("clinical preset sets correct defaults", {
9397
config = list(
9498
preset = "clinical",
9599
affected_fill_code_affected = 1,
100+
affected_fill_color_affected = "green",
96101
overlay_code_affected = 1,
97102
outline_color_code_affected = 1,
98103
outline_color_affected = "blue"

0 commit comments

Comments
 (0)