tests/testthat/test_monitoring.R

context("CMA-ES monitoring")

test_that("CMA-ES monitoring works well", {
	fn = makeSphereFunction(2L)
  expect_output(cmaes(fn, monitor = makeSimpleMonitor()), "Iteration")
})
jakobbossek/cmaesr documentation built on May 18, 2019, 9:09 a.m.