tests/testthat/test-defaults.R

context("defaults")

x <- snapdef()

test_that("snap defaults are as expected", {
  expect_is(x, "list")
  expect_equal(length(x$ar5dir_dist_stats), 2)
  expect_equal(x$ar5cru, x$ar5all[6])
  expect_equal(length(x), 23)
})
leonawicz/snapprep documentation built on May 14, 2019, 8:54 a.m.