tests/testthat/test_plot_networx.R

net <- as.networx(allCircularSplits(5))

test_that("plot.networx works", {
  networx_plot <- function() plot(net)
  vdiffr::expect_doppelganger("plot.networx", networx_plot)
})
KlausVigo/phangorn documentation built on June 23, 2024, 10:49 p.m.