is_equivalent_to: Expectation: is the object equivalent to a value?
This expectation tests for equivalency: are two objects equal once their
attributes have been removed.
Description
Expectation: is the object equivalent to a value? This
expectation tests for equivalency: are two objects equal
once their attributes have been removed.
For full form, label of expected object used
in error messages. Useful to override default (deparsed
expected expression) when doing tests in a loop. For
short cut form, object label. When NULL, computed
from deparsed object.
object
object to test
info
extra information to be included in the
message (useful when writing tests in loops).