Created
March 31, 2019 17:59
-
-
Save polac24/9977effabc5c4593bd2eaa1e2df9f1df 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
// compareAction: ((Int,Int)) -> CompareResult | |
lazy var compareAction = stub(of: compare) | |
func compare(_ element1:Int, _ element2:Int) -> CompareResult { | |
return compareAction((element1, element2)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment