assertNotEq

Signature

bool

function assertNotEq(bool left, bool right) internal;
function assertNotEq(bool left, bool right, string memory err) internal;

uint256

function assertNotEq(uint256 left, uint256 right) internal;
function assertNotEq(uint256 left, uint256 right, string memory err) internal;

int256

function assertNotEq(int256 left, int256 right) internal;
function assertNotEq(int256 left, int256 right, string memory err) internal;

address

function assertNotEq(address left, address right) internal;
function assertNotEq(address left, address right, string memory err) internal;

bytes32

function assertNotEq(bytes32 left, bytes32 right) internal;
function assertNotEq(bytes32 left, bytes32 right, string memory err) internal;

string

function assertNotEq(string memory left, string memory right) internal;
function assertNotEq(string memory left, string memory right, string memory err) internal;

bytes

function assertNotEq(bytes memory left, bytes memory right) internal;
function assertNotEq(bytes memory left, bytes memory right, string memory err) internal;

bool[]

function assertNotEq(bool[] memory left, bool[] memory right) internal;
function assertNotEq(bool[] memory left, bool[] memory right, string memory err) internal;

uint256[]

function assertNotEq(uint256[] memory left, uint256[] memory right) internal;
function assertNotEq(uint256[] memory left, uint256[] memory right, string memory err) internal;

int256[]

function assertNotEq(int256[] memory left, int256[] memory right) internal;
function assertNotEq(int256[] memory left, int256[] memory right, string memory err) internal;

address[]

function assertNotEq(address[] memory left, address[] memory right) internal;
function assertNotEq(address[] memory left, address[] memory right, string memory err) internal;

bytes32[]

function assertNotEq(bytes32[] memory left, bytes32[] memory right) internal;
function assertNotEq(bytes32[] memory left, bytes32[] memory right, string memory err) internal;

string[]

function assertNotEq(string[] memory left, string[] memory right) internal;
function assertNotEq(string[] memory left, string[] memory right, string memory err) internal;

bytes[]

function assertNotEq(bytes[] memory left, bytes[] memory right) internal;
function assertNotEq(bytes[] memory left, bytes[] memory right, string memory err) internal;

Legacy

function assertNotEq32(bytes32 left, bytes32 right) internal;
function assertNotEq32(bytes32 left, bytes32 right, string memory err) internal;

Description

Asserts left is not equal to right.

Optionally includes an error message in the revert string.

SEE ALSO