Sha256: f0185ae854d53ec7d3c35940e2b8c273c5f1abdb44005e03c9a7928ded5db7d6

Contents?: true

Size: 1.87 KB

Versions: 396

Compression:

Stored size: 1.87 KB

Contents

#import <XCTest/XCTest.h>

#if __has_include("RaindropsExample.h")
# import "RaindropsExample.h"
# else
# import "Raindrops.h"
#endif

@interface RaindropsTest : XCTestCase

@end

@implementation RaindropsTest

- (void)test1 {
    XCTAssertEqualObjects(@"1", [[[Raindrops alloc] initWithNumber:1] sounds]);
}

- (void)test3 {
    XCTAssertEqualObjects(@"Pling", [[[Raindrops alloc] initWithNumber:3] sounds]);
}

- (void)test5 {
    XCTAssertEqualObjects(@"Plang", [[[Raindrops alloc] initWithNumber:5] sounds]);
}

- (void)test7 {
    XCTAssertEqualObjects(@"Plong", [[[Raindrops alloc] initWithNumber:7] sounds]);
}

- (void)test6 {
    XCTAssertEqualObjects(@"Pling", [[[Raindrops alloc] initWithNumber:6] sounds]);
}

- (void)test9 {
    XCTAssertEqualObjects(@"Pling", [[[Raindrops alloc] initWithNumber:9] sounds]);
}

- (void)test10 {
    XCTAssertEqualObjects(@"Plang", [[[Raindrops alloc] initWithNumber:10] sounds]);
}

- (void)test14 {
    XCTAssertEqualObjects(@"Plong", [[[Raindrops alloc] initWithNumber:14] sounds]);
}

- (void)test15 {
    XCTAssertEqualObjects(@"PlingPlang", [[[Raindrops alloc] initWithNumber:15] sounds]);
}

- (void)test21 {
    XCTAssertEqualObjects(@"PlingPlong", [[[Raindrops alloc] initWithNumber:21] sounds]);
}

- (void)test25 {
    XCTAssertEqualObjects(@"Plang", [[[Raindrops alloc] initWithNumber:25] sounds]);
}

- (void)test35 {
    XCTAssertEqualObjects(@"PlangPlong", [[[Raindrops alloc] initWithNumber:35] sounds]);
}

- (void)test49 {
    XCTAssertEqualObjects(@"Plong", [[[Raindrops alloc] initWithNumber:49] sounds]);
}

- (void)test52 {
    XCTAssertEqualObjects(@"52", [[[Raindrops alloc] initWithNumber:52] sounds]);
}

- (void)test105 {
    XCTAssertEqualObjects(@"PlingPlangPlong", [[[Raindrops alloc] initWithNumber:105] sounds]);
}

- (void)test12121 {
    XCTAssertEqualObjects(@"12121", [[[Raindrops alloc] initWithNumber:12121] sounds]);
}

@end

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.179 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.178 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.177 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.176 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.175 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.174 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.173 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.172 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.171 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.170 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.169 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.167 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.166 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.165 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.164 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.163 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.162 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.161 tracks/objective-c/exercises/raindrops/RaindropsTest.m
trackler-2.2.1.160 tracks/objective-c/exercises/raindrops/RaindropsTest.m