Description Usage Arguments See Also Examples
Returns a function that checks whether its argument is identical to an expected result
1 | identicalTo(expected, tol = NULL)
|
expected |
object passed to the matcher function. |
tol |
numeric tolerance. Should note that |
closeTo
equalTo
1 2 3 4 | ## Not run:
assertThat(floor(-1.5), identicalTo(-2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.