tests/testthat/test-SCA_correlation_matrix_data.R

test_that("it works", {
  db <- pySCA_HBG2_HUMAN
  data <- SCA_correlation_matrix_data(db)
  expect_equal(nrow(data), 139)
})
test_that("empty list gives error", {
  SCA_correlation_matrix_data(list()) %>%
    testthat::expect_error()
})
currocam/toolkit4pySCA documentation built on April 7, 2022, 8:17 p.m.