tests/testthat/test-pro_switch.R

context("test-pro_switch.R")

test_that("pro_switch returns a useable symbol", {
  testthat::expect_equal(pro_switch_test_function(gear),
               pro_switch_test_function("gear", T),
               12)
})
rosseji/rutils documentation built on May 17, 2019, 11:16 p.m.