tests/testthat/test-model.parallel.run.R

context("Model parallel run")

test_that("model.parallel.run works", {
  expect_known_output(model.parallel.run(model = helper.sir,
                                         actual.input.matrix = matrix(c(0.2, 0.02),
                                                                      ncol = 2,
                                                                      nrow = 4,
                                                                      byrow =  TRUE),
                                         seed_count = 0,
                                         n_cores = 2),
                      file = "/tmp/test.model.parallel.run",
                      update = TRUE,
                      print = TRUE)
})
wdelva/MABC documentation built on May 27, 2019, 9:56 a.m.