XCTAssertIdentical
Asserts that two values are identical.
Declaration
#define XCTAssertIdentical(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 are identical if they’re the same instance.