tests/testthat/test-OR.R

test_that("Returns TRUE", {
  expect_equal(OR(2 == 2, 4 == 4), TRUE)
})

test_that("Returns TRUE", {
  expect_equal(OR(2 == 2, 4 != 4), TRUE)
})

test_that("Returns FALSE", {
  expect_equal(OR(2 != 2, 4 != 4), FALSE)
})
njbultman/xlsxFunctions documentation built on Aug. 8, 2021, 3:14 p.m.