tests/testthat/test-calibrate_LLR.R

test_that("calibration works", {

  res = readRDS(testthat::test_path("data", "res.rds"))

  fake.q = res[1:10,]
  calibration.data = res[-c(1:10),]

  results = calibrate_LLR(calibration.data, fake.q)

  expect_snapshot(results)

})

Try the idiolect package in your browser

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

idiolect documentation built on Sept. 11, 2024, 5:34 p.m.