tests/testthat/test-helpers.R

context("simple helpers")

test_that("utilities for checking lists",{
  l = list(a = 5, b = 1:2)
  expect_false(is_length_all_one(l))
  l = list(a = 5, b = 1)
  expect_true(is_length_all_one(l))
})
oslerinhealth/baker documentation built on May 22, 2021, 12:05 p.m.