tests/testthat/test_checkMeasureMatrixPlot.R

context("Measure Matrix Plot")

# Check if creating a Measure Matrix plot throws an error
test_that("createMeasureMatrixPlot for mlr benchmark", {
  p = createMeasureMatrixPlot(mlr.benchmark.example)
  expect_true(is.list(p))
})

# Check if creating a Measure Matrix plot throws an error
test_that("createMeasureMatrixPlot for microbenchmark", {
  p = createMeasureMatrixPlot(microbenchmark.example, "problem")
  expect_true(is.list(p))
})
collinleiber/benchmarkVis documentation built on May 28, 2019, 8:23 a.m.