Add tests for R builds
This commit is contained in:
parent
69b268e6f7
commit
1de359f3e6
1 changed files with 505 additions and 0 deletions
5
test/testpkg/tests/test.R
Normal file
5
test/testpkg/tests/test.R
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
library(testpkg)
|
||||
|
||||
stopifnot(add_it(1, 2) == 3)
|
||||
stopifnot(subtract_it(1, 2) == -1)
|
||||
stopifnot(square_it(3) == 9)
|
||||
Loading…
Reference in a new issue