tests/testthat/test-readGAF.R

test_that("readGAF() works", {
  d<-readGAF("gene_association_head.goa_ref_human.gz")
  expect_equal(d@numberOfItems, 182)
})

test_that("readGAF() with aspect works", {
  d<-readGAF("gene_association_head.goa_ref_human.gz",aspect="C")
  expect_equal(d@numberOfItems, 149)
})
sba1/mgsa-bioc documentation built on May 20, 2021, 7:43 p.m.