tests/testthat/test_mlzip.R

context("mlzip")

## Warning when ml is not unique
expect_warning(mlzip(c(0, 0, 0)))

set.seed(1)
expect_equal(unname(mlzip(rpois(10, 1))[2]), 0)
JonasMoss/univariateML documentation built on Nov. 3, 2024, 3:03 p.m.