tests/testthat/test-rQuartetDist.cpp.R

test_that("invalid `edge` fails gracefully", {
  expect_error(tqdist_QuartetAgreementEdge(matrix(0, 3, 3), matrix(0, 3, 2)),
               "`edge` must .* two columns")
})
ms609/SlowQuartet documentation built on Sept. 7, 2024, 3:12 a.m.