Description Usage Arguments Value Examples
This function attaches unit tests in value
to an object (typically a
function) as an attribute "test"
.
1 | test(f) <- value
|
f |
the function (object) to which the tests are to be attached |
value |
the test code, a function with no parameters |
f
with the test attached as attribute "test"
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.