tests/testthat/test-plot.R

test_that("plots work", {
  expect_is(dplot(Z_potts), "ggplot")
  expect_is(cplot(Z_potts + rnorm(prod(dim(Z_potts)))), "ggplot")
})
Freguglia/mrf2d documentation built on Feb. 13, 2023, 3:29 a.m.