tests/testthat/test_bold.R

library(latextools)

test_that("bold works",{
  expect_equal(bold("A"), "\\textbf{A}")
  expect_equal(bold(NA), "\\textbf{NA}")
})
basilrabi/latextools documentation built on May 24, 2021, 2:32 a.m.