tests/testthat/test-specify-decimal.R

test_that("specifying decimal works", {
  
  score <- specify_decimal(20, 2)
  
  expect_equal(nchar(score), 5)
})
favstats/peRspective documentation built on July 19, 2021, 9:55 a.m.