tests/testthat/test_e.single.R

test_that("e.single output", {
  expect_equal(e.single(1000, 1500, 1, normprob = T), c(1096, 1404))
  expect_equal(e.single(1000, 1500, 1, normprob = F), c(1095, 1405))
})

Try the EloRating package in your browser

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

EloRating documentation built on March 26, 2020, 7:29 p.m.