tests/testthat/test-errors.R

library(testthat)
context("Test errors")

map <- acmap(
  titer_table = matrix("20", 3, 3)
)

test_that("errors when no optimizations are available", {

  expect_error(
    colBases(map),
    "Map has no optimization runs"
  )

})

Try the Racmacs package in your browser

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

Racmacs documentation built on June 22, 2024, 11:33 a.m.