Skip to content

Commit

Permalink
add some improved namespacing to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Apr 5, 2024
1 parent e0406ad commit 8a23a3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-DiabImmune.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## we just want to make sure that DiabImmune is
## a MbioDataset object and has reasonable collections
test_that("DiabImmune is sane", {
expect_s4_class(DiabImmune, "MbioDataset")
expect_true(length(DiabImmune@collections) > 0)
expect_s4_class(microbiomeData::DiabImmune, "MbioDataset")
expect_true(length(microbiomeData::DiabImmune@collections) > 0)

genus <- MicrobiomeDB::getCollection(DiabImmune, "16S Genus")
genus <- MicrobiomeDB::getCollection(microbiomeData::DiabImmune, "16S Genus")
expect_s4_class(genus, "Collection")
expect_true(length(genus@data) > 0)
})

0 comments on commit 8a23a3a

Please sign in to comment.