tests/testthat/test_coefficient.of.bimodality.R

# For more details on unit testing, see
# http://master.bioconductor.org/developers/how-to/unitTesting-guidelines/

context("bimodality")

test_that("bimodality scores work correctly", {

  expect_equal(bimodality_sarle(seq(100), type = "Sarle.finite.sample"), 0.2043795, tolerance=1.0e-3)
  
})

Try the microbiome package in your browser

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

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.