tests/testthat/test_slpcovis.R

## Tests for slpCOVIS
context("slpCOVIS")
load("../data/test_slpcovis.RData")
set.seed(7)
out <- slpCOVIS(st, tr, crx = TRUE, respt = FALSE, rgive = TRUE,
                xtdo = FALSE)

test_that("slpCOVIS reproduces an arbitrarily chosen short simulation.", {
    expect_equal(out$foutmat, testres$foutmat)
})

Try the catlearn package in your browser

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

catlearn documentation built on April 4, 2023, 5:12 p.m.