File: test_extensibility.R

package info (click to toggle)
r-cran-tinytest 1.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,072 kB
  • sloc: sh: 14; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10


register_tinytest_extension(pkg="lulz"
  , functions=c("fee","fi","fu","bar"))

ext <- getOption("tt.extensions")
expect_equal(ext, list(lulz = c("fee","fi","fu","bar")  ))