tests/testthat/test_data.R

context("Default Data Files")


# Verify that the data can be loaded

test_that("getDefaultModel returns a list with graph and DefConcept", {
   data <- loadDefaultModel()

   expect_is(data, "list")
   expect_equal(names(data), c("graph", "DefConcept"))
})
Su-informatics-lab/DIStudio documentation built on May 5, 2020, 10:33 p.m.