tests/testthat/test-XiaoXuMDLE.R

test_that("XiaoXuMDLE", {
  suppressMessages(temp <- XiaoXuMDLE(DoE.base::L16.4.5, 2, noptim.oa=5,
                                      nrounds = 5, nsteps=50))

  expect_true("phi_p" %in% names(attributes(temp)))
  expect_equal(dim(temp), c(16, 5))

  # operational checks for code coverage
  suppressMessages(temp <- XiaoXuMDLE(DoE.base::L16.4.5, 2, nrounds = 5, nsteps=50,
                                      dmethod="euclidean", p=20))

})

Try the SOAs package in your browser

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

SOAs documentation built on Aug. 11, 2023, 1:09 a.m.