tests/testthat/test-phen_hiv.R

test_that("phen_hiv() works as expected", {
  strategy1 <- diag(2) 
  strategy2 <- diag(2) 
  alpha <- 1
  beta <- 0.5
  gamma <- 2
  theta <- 0.1 
  expect_snapshot(
    phen_hiv(strategy1, strategy2, alpha, beta, gamma, theta) 
  )
})

Try the qvirus package in your browser

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

qvirus documentation built on June 8, 2025, 10:06 a.m.