aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_mkinds.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testthat/test_mkinds.R')
-rw-r--r--tests/testthat/test_mkinds.R6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testthat/test_mkinds.R b/tests/testthat/test_mkinds.R
new file mode 100644
index 00000000..e017301c
--- /dev/null
+++ b/tests/testthat/test_mkinds.R
@@ -0,0 +1,6 @@
+context("Test dataset class mkinds used in gmkin")
+
+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(testdata, "FOCUS_2006_C_mkinds.txt")
+})

Contact - Imprint