Macro

XCTAssertEqual

Asserts that two expressions have the same value.

Declaration

#define XCTAssertEqual

Parameters

expression1

An expression of C scalar type.

expression2

An expression of C scalar type.

...

An optional description of the failure. A literal NSString, optionally with string format specifiers.

Discussion

Generates a failure when expression1 != expression2.