tests/testthat/test_fromSizeGenes.R

context("Testing fromSizeGenes method")

test_that("fromSizeGenes", {
  sG <- sizeGenes(Info)

  expect_message(test <- fromSizeGenes(sG), "Iterations: ")
  expect_equal(sG, sizeGenes(test))
})

# test_that("fromSizeGenes", {
#   sG <- sizeGenes(genesKegg)
#
#   expect_message(test <- fromSizeGenes(sG), "Iterations: ")
#   expect_equal(sG, sizeGenes(test))
# })
llrs/GSEAdv documentation built on May 29, 2019, 6 p.m.