Created
July 24, 2018 12:22
-
-
Save truizlop/3e5b2e308c247afe6eb4c920c62c3112 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 testConcatHasEmptyStringAsNeutralElement() { | |
for _ in 0 ..< 100 { | |
let a = randomString() | |
let result = concat(first: a, second: "") | |
XCTAssertEqual(result, a) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment