shouldNotEqual

Verify that two values are not the same.

void
shouldNotEqual
(
V
E
)
(
,,
in string file = __FILE__
,
in size_t line = __LINE__
)

Throws

UnitTestException on failure

Examples

shouldNotEqual(true, false);
shouldNotEqual(1, 2);
shouldNotEqual("f", "b");
shouldNotEqual([2, 3], [2, 3, 4]);
shouldNotEqual(1.0, 2.0);

Meta