tests/testthat/test_misc.R

context("Smaller functions")

test_that("getOR", {
    expect_equal(getOR(matrix(c(75, 75, 100, 150), ncol = 2)), 1.5)
})
LieberInstitute/jaffelab documentation built on April 1, 2024, 7:26 a.m.