Created
July 24, 2018 12:20
-
-
Save truizlop/74ba7987db8d6c625212c75c73599456 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func testConcatLengthIsEqualToSumOfLengths() { | |
for _ in 0 ..< 100 { | |
let a = randomString() | |
let b = randomString() | |
let result = concat(first: a, second: b) | |
XCTAssertEqual(result.length, a.length + b.length) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment