tests/testthat/test-list_onsets.R

test_that("list_onsets works", {

  onsets <- list_onsets()
  testthat::expect_length(onsets,12)

  onsets <- list_onsets(exclude = c("Antenatal","Fetal"),
                        include_na = FALSE)
  testthat::expect_length(onsets,9)
})
neurogenomics/HPOExplorer documentation built on April 17, 2025, 9:25 p.m.