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")
  )
})
richelbilderbeek/beautier documentation built on April 4, 2024, 12:33 p.m.