/R/function.R
Coverage: | 100.00% |
---|---|
Total Lines: | 8 |
Relevant: | 1 |
Covered: | 1 |
Missed: | 0 |
Hits / Line: | 1 |
1 |
# A test cases for extracting tests from a package structure. |
|
2 | ||
3 |
hello_world <- function(){ |
|
4 |
print("hello world") |
1 x |
5 |
} |
|
6 |
if(FALSE){#!@testthat |
|
7 |
expect_output(hello_world(), "hello world") |
|
8 |
} |