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 Sept. 1, 2024, 1:50 a.m.