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
.
Related Contents:
- XCTAssertEqual fails to compare two string values?
- What is the best way to unit test Objective-C code?
- How do I wait for an asynchronously dispatched block to finish?
- When do app sources need to be included in test targets?
- How to unit test my models now that I am using Core Data?
- @class vs. #import
- @synthesize vs @dynamic, what are the differences?
- “sending ‘const NSString *’ to parameter of type ‘NSString *’ discards qualifiers” warning
- How do I add 1 day to an NSDate?
- Best practices for overriding isEqual: and hash
- Would it be beneficial to begin using instancetype instead of id?
- How do I avoid capturing self in blocks when implementing an API?
- What is the Objective-C equivalent for “toString()”, for use with NSLog?
- When should I use nil and NULL in Objective-C?
- Objective-C: difference between id and void *
- When to use enumerateObjectsUsingBlock vs. for
- How to convert a string into double and vice versa?
- Capitalize or change case of an NSString in Objective-C
- How to convert NSNumber to NSString
- What does this gdb output mean?
- How to increment a NSNumber
- Objective-C: Where to remove observer for NSNotification?
- Advantages, problems, examples of adding another UIWindow to an iOS app?
- Difference between Category and Class Extension?
- Getting row of UITableView cell on button press
- Creating layout constraints programmatically
- Compiler error: “initializer element is not a compile-time constant”
- Case in protected switch [duplicate]
- Xcode6: IBDesignable and IBInspectable with Objective-C
- UIPopoverPresentationController on iOS 8 iPhone
- Is it possible to set a cookie manually using sharedHTTPCookieStorage for a UIWebView?
- What’s the meaning of static variables in an implementation of an interface?
- Xcode intellisense meaning of letters in colored boxes like f,T,C,M,P,C,K,# etc
- What is autoreleasepool? [duplicate]
- NSArray of weak references (__unsafe_unretained) to objects under ARC
- Convert Seconds Integer To HH:MM, iPhone
- Comparing NSNumbers in Objective C
- Is there a constant for the maximum CGFloat value?
- Workflow to create Xcode groups as file system folders
- Finding file’s size
- Get Current date & time with [NSDate date]
- Xcode’s “Incomplete implementation” warning
- Adding a custom subview (created in a xib) to a view controller’s view – What am I doing wrong
- Prototype Cells in a nib instead of a storyboard
- Circular Progress Bars in IOS
- Can I declare variables inside an Objective-C switch statement?
- CFURLCopyResourcePropertyForKey failed because passed URL no scheme
- Singleton release method produces warning?
- Accessing objects in NSMutableDictionary by index
- Simple http post example in Objective-C?