Learn R Programming

testthat (version 0.2)

is_equivalent_to: Expectation: is the object equivalent to a value?

Description

Expectation: is the object equivalent to a value? This expectation tests for equivalency: are two objects equal once their attributes have been removed.

Usage

is_equivalent_to(expected)

Arguments

expected
expected value