a | b/inst/tests/test-readDACData.R | ||
---|---|---|---|
1 | context("Read all DLBCL classifications") |
||
2 | data(DLBCL_overview) |
||
3 | |||
4 | test_that("readDACData returns a data.frame", { |
||
5 | for (gse in DLBCL_overview$GSE) { |
||
6 | if (gse == "GSE11318") { |
||
7 | next |
||
8 | } |
||
9 | expect_true(is.data.frame(readDACData(gse))) |
||
10 | } |
||
11 | }) |
||
12 | |||
13 | test_that("readDACData returns null GSE11318 and other names ", { |
||
14 | expect_null(readDACData("GSE11318")) |
||
15 | expect_null(readDACData("someothername")) |
||
16 | }) |