tests/testthat/test-utils.R

test_that("preceq works", {
  expect_equal(preceq(x = c(0, 0, 0), y = c(-1, 0, 1)),
               c(0, 0.5, 1))
})
ge-li/myfirstpackage documentation built on April 14, 2022, 10:45 a.m.