tests/testthat/test-unknown_functions.R

test_that("find all calls", {
  expect_identical(
    find_all_calls(quote(f(a + b) + g(x))),
    c("+", "f", "g")
  )
})
yiluheihei/rlatexmath documentation built on Jan. 1, 2021, 1:44 p.m.