Debian Codegraph @

tests/testthat/test-zzz.R

raw
1 # cat("\n")
2 # library(testthat)
3
4
5 context("onLoad")
6
7
8 test_that("onLoad works", {
9 # no options for dendextend yet, should be empty
10 dendextend:::.onLoad()
11 expect_identical(getOption("dendextend"), NULL)
12 })
13
14
15 test_that("dendextend_options works", {
16
17 opt <- dendextend_options()
18 expect_true(
19 !opt$warn
20 )
21
22 })