Macro ::std::test::assert_ne!(..)

Overview

Assert that the two arguments provided are not equal, or cause a vm panic.

The third argument can optionally be used to format a panic message.

Examples

let value = 42;

assert_ne!(value, 10, "Value was 10");