tests/testthat/test_runif_by_mean.R

test_that("both means should be equal", {
    expect_equal(mean(runif_by_mean(mean = 3.0, n = 100)), 3.0)
})
mshasan/OPWpaper1 documentation built on Feb. 22, 2021, 10:22 a.m.