tests/testthat/test_conversion_table.R

context("Test that conversion table is properly constructed")

test_that("All records have a 'c'value",  {
  table <- get_conversion_table()

expect_true(  all(table$c != 0))

})
ropenscilabs/convertr documentation built on May 18, 2022, 7:36 p.m.