tests/testthat/test-logit.R

#context("test-logit")

test_that("logit works", {
  expect_equal(logit(0.5), 0)
  expect_equal(logit(0.6), 0.405465108)
})

Try the jSDM package in your browser

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

jSDM documentation built on July 26, 2023, 5:21 p.m.