tests/testthat/test_a_format_version.R

test_that("format_version() works as expected", {
  expect_identical(as.character(format_version(7)), "000111110010010100")
  expect_identical(as.character(format_version(8)), "001000010110111100")
})

Try the qrcode package in your browser

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

qrcode documentation built on Nov. 11, 2023, 5:07 p.m.