What's the difference between XCTAssert and XCTAssertTrue? They seem to be doing the same thing, if so why do we need both?
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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With