tests/testthat/test-print-methods.R

test_that("print.SOA", {
  temp <- OSOAs_regular(s=3, k=3, optimize=FALSE)
  expect_output(print(temp), regexp = "OSOA")
})

test_that("print.MDLE", {
  suppressMessages(temp <- MDLEs(DoE.base::L16.4.5, 2, noptim.rounds = 1))
  expect_output(print(temp), regexp = "MDLE")
})

Try the SOAs package in your browser

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

SOAs documentation built on Sept. 9, 2025, 5:40 p.m.