tests/testthat/test-rc.restore.qc.samples.R

test_that("RAMClustR rc.restore.qc.samples", {
  ramclustObj <- readRDS(file.path("testdata", "rc.remove.qc.rds"))
  expected <- readRDS(file.path("testdata", "rc.restore.qc.samples.rds"))
  
  actual <- rc.restore.qc.samples(ramclustObj = ramclustObj)
  
  expect_equal(actual, expected)
})
cbroeckl/RAMClustR documentation built on March 23, 2024, 6:45 p.m.