tests/testthat/test-is_tree_prior_name.R

test_that("basic usage", {

  expect_false(is_tree_prior_name("nonsense"))
  expect_true(is_tree_prior_name("yule"))
  expect_true(is_tree_prior_name("birth_death"))
  expect_true(
    is_tree_prior_name("coalescent_constant_population")
  )
})
ropensci/beautier documentation built on April 2, 2024, 5:01 a.m.