What's the difference between XCTAssert and XCTAssertTrue?
objective-c, unit-testing, xctest
Solution
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`.
Problem
What's the difference between XCTAssert and XCTAssertTrue? They seem to be doing the same thing, if so why do we need both?