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/beastscriptr documentation built on April 9, 2024, 2:28 p.m.