tests/testthat/test_is.odd.R

test_that("is.odd:has the expected behavior", {
    tmp <- GladiaTOX:::is.odd(2)
    expect_false(tmp)
    tmp <- GladiaTOX:::is.odd(3)
    expect_true(tmp)
})

Try the GladiaTOX package in your browser

Any scripts or data that you put into this service are public.

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.