diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 14:43:40 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 14:43:40 +0100 |
commit | b3488f035af01627e2c5ea8bee06b7af7202636e (patch) | |
tree | fa83a8bc5d27e8006664e6d4d9d278df94ba887f /tests/testthat/test_mkinds.R | |
parent | 396a92a9c856be554d785daffd8a34b9b26b8640 (diff) |
And more
Diffstat (limited to 'tests/testthat/test_mkinds.R')
-rw-r--r-- | tests/testthat/test_mkinds.R | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/testthat/test_mkinds.R b/tests/testthat/test_mkinds.R index cb0d2686..5ce3619b 100644 --- a/tests/testthat/test_mkinds.R +++ b/tests/testthat/test_mkinds.R @@ -1,6 +1,11 @@ -context("Test dataset class mkinds used in gmkin") +context("Test dataset classes mkinds and mkindsg") test_that("An mkinds object can be created and printed", { testdata <- mkinds$new("FOCUS C", data = FOCUS_2006_C, time_unit = "days", unit = "%AR") expect_known_output(print(testdata), "FOCUS_2006_C_mkinds.txt") }) + +test_that("An mkindsg object can be created and printed", { + testdata_group <- mkindsg$new("Experimental X", experimental_data_for_UBA_2019[6:10]) + expect_known_output(print(testdata_group), "experimental_data_for_UBA_2019_mkindsg.txt") +}) |