tests/testthat/test_fromSizePathways.R

context("Testing fromSizePathways method")

test_that("fromSizePathways", {
  sP <- sizePathways(Info)

  expect_message(test <- fromSizePathways(sP), "Iterations: ")
  expect_equal(sP, sizePathways(test))
})

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