tests/testthat/test-tree_shape.R

test_that("Errors are handled", {
  expect_error(RootedTreeWithShape(as.integer64(-1)))
  expect_error(UnrootedTreeWithShape(31, 31))
})

Try the TreeDist package in your browser

Any scripts or data that you put into this service are public.

TreeDist documentation built on Oct. 26, 2023, 1:07 a.m.