tests/testthat/test-specify-decimal.R

test_that("specifying decimal works", {
  
  score <- specify_decimal(20, 2)
  
  expect_equal(nchar(score), 5)
})

Try the peRspective package in your browser

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

peRspective documentation built on July 14, 2021, 9:06 a.m.