tests/testthat/test-is_yule_tree_prior.R

context("is_yule_tree_prior")

test_that("use", {

  testthat::expect_true(
    is_yule_tree_prior(create_yule_tree_prior()))
  testthat::expect_false(
    is_yule_tree_prior(create_bd_tree_prior()))
})
ropensci/beautier documentation built on March 12, 2019, 8:27 p.m.