What’s the difference between XCTAssert and XCTAssertTrue?

You are correct to suggest that there is redundancy here. They are in fact absolutely identical – that is, under the hood they both evaluate to one and the same macro, _XCTPrimitiveAssertTrue.

Leave a Comment