runTestCase | R Documentation |
Run specified test cases under the given evaluation mode
runTestCase(object_o_1, testCaseIndexes_i, evaluationMode_o_1 = EvaluationMode())
object_o_1 |
The R |
testCaseIndexes_i |
a |
evaluationMode_o_1 |
the evaluation mode to use. see |
A list
with two names
raw |
a |
synthesis |
a summary |
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
Refer to defineEvaluationModes
.
##---- typical case ----
library('data.table')
source(system.file('code-samples/both-defs/good/full/AdditionTCFI_G1.R',
package = 'wyz.code.offensiveProgramming'))
em <- EvaluationMode('type_checking_enforcement')
runTestCase(AdditionTCFI_G1(), c(3, 5, 7), em)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.