Contents

XCTAssertNotIdentical

Asserts that two values aren’t identical.

Declaration

#define XCTAssertNotIdentical(expression1, expression2, ...)

Parameters

  • expression1:

    An expression of type id.

  • expression2:

    A second expression of type id.

  • :

    An optional description of a failure. A literal Nsstring, optionally with string format specifiers.

Discussion

Compare two values of type id. The values aren’t identical if they’re not the same instance.

See Also

Related Documentation

Tests for Identical Objects