Sha256: 207158ccd8ad796aacb7a0c87772489d8c0a26f8b804c1ab52877a49694cca34
Contents?: true
Size: 613 Bytes
Versions: 103
Compression:
Stored size: 613 Bytes
Contents
#import <XCTest/XCTest.h> #if __has_include("TwoFerExample.h") # import "TwoFerExample.h" # else # import "TwoFer.h" #endif @interface TwoFerTest : XCTestCase @end @implementation TwoFerTest NS_ASSUME_NONNULL_BEGIN - (void)testNoNameGiven { XCTAssertEqualObjects([TwoFer twoFerWithName:nil], @"One for you, one for me."); } - (void)testANameGiven { XCTAssertEqualObjects([TwoFer twoFerWithName:@"Alice"], @"One for Alice, one for me."); } - (void)testAnotherNameGiven { XCTAssertEqualObjects([TwoFer twoFerWithName:@"Bob"], @"One for Bob, one for me."); } NS_ASSUME_NONNULL_END @end
Version data entries
103 entries across 103 versions & 1 rubygems