tests/testthat/test_Mt.R

context("Length of the list that is returned by the Mt() function.")

test_that("test if Mt() returns a list of length 3", {
  expect_length(Mt(matrix(c(0,2,3,0),2,2,byrow=TRUE),t=0.7,epsilon=0.005), 3)
})

Try the modesto package in your browser

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

modesto documentation built on June 1, 2022, 1:06 a.m.