Description Usage Arguments Value Examples
Print a test with its result as a message and return the message as a character string
1 | printTestMessage(testexpression, testresult, newline = TRUE)
|
testexpression |
text description of what was tested |
testresult |
boolean result (of length one) of the test |
newline |
if |
the message that was shown as a character string
1 2 | printTestMessage("apple == apple", 1 == 1)
printTestMessage("apple == pear", 1 == 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.