tests/test.R

require(testthat)
library(BuildingRPackage)

# test make_filename
test_that("make_filename generates the file name", {
  expect_equal(make_filename(2013), "accident_2013.csv.bz2")
})
fdelzompo/BuildingRPackage documentation built on July 29, 2017, 3:12 a.m.