Skip to content

Commit

Permalink
add test for mng01 jitter
Browse files Browse the repository at this point in the history
  • Loading branch information
zhux63 committed Jul 17, 2023
1 parent 68ca8ba commit 3712445
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/testthat/test-mng01.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,14 @@ test_that("mng01 works with combination of x variables", {
)
checkmate::expect_list(res, len = 3, types = "ggplot")
})

test_that("mng01 works with numeric jitter", {
proc_data <- syn_data
res <- run(
mng01,
proc_data,
dataset = "adlb",
jitter = 0.2
)
checkmate::expect_list(res, len = 3, types = "ggplot")
})

0 comments on commit 3712445

Please sign in to comment.