tests/testthat/test-path.R

# Fun: path() -------------------------------------------------------------


test_that("path() is working",{
  path <- thaipdf_paths()
  expect_type(path, "list")
})


test_that("before_body() is working", {
  path_bb <- before_body()
  expect_type(path_bb, "character")
  expect_true(fs::file_exists(path_bb))
})
Lightbridge-KS/thaipdf documentation built on June 18, 2022, 6:58 a.m.