tests/testthat/test_Task.R

test_that("fortify.Task", {
  expect_data_table(fortify(mlr3::tsk("iris")), nrows = 150, ncols = 5)
  expect_data_table(fortify(mlr3::tsk("boston_housing")))
})
mlr-org/mlr3viz documentation built on Oct. 19, 2021, 1:10 p.m.