tests/testthat/test_sample_ancestry.R

test_that("TESTING sample_ancestry()", {

    print("sample_ancestry(0) = Should be something other than 0")
    print(sample_ancestry(0))

    print("sample_ancestry(1) = Should be something other than 1")
    print(sample_ancestry(1))

    print("sample_ancestry(2) = Should be something other than 2")
    print(sample_ancestry(2))

})

Try the ASAFE package in your browser

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

ASAFE documentation built on Nov. 8, 2020, 10:59 p.m.