tests/testthat/test_MicrobiomeExperiment-class.R

context("MicrobiomeExperiment-class")

test_that("constructors work for basic cases", {
    expect_true(validObject(MicrobiomeExperiment()))
    expect_true(validObject(
        MicrobiomeExperiment(SummarizedExperiment(), MicrobiomeFeatures())
    ))
    expect_true(validObject(MicrobiomeExperiment(SimpleList())))
})
HCBravoLab/metagenomeSE documentation built on May 17, 2019, 6:19 p.m.