tests/testthat/test-gsample.R

test_that("gsample with test.sparse", {
    set.seed(60427)
    expect_regression(gsample("test.sparse", 100, gintervals(c(1, 2))), "gsample.sparse")
})

test_that("gsample with test.rects", {
    set.seed(60427)
    expect_regression(gsample("test.rects", 100, gintervals.2d(c(1, 2))), "gsample.rects")
})

Try the misha package in your browser

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

misha documentation built on Sept. 14, 2023, 5:08 p.m.