Created
July 24, 2018 13:30
-
-
Save truizlop/940cd215a39e795d00b319117bc59f89 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 generateSequenceOf(lengthSmallerThan n : Int) -> Gen<ArrayOf<Player>> { | |
return ArrayOf<Player>.arbitrary.suchThat{ $0.getArray.count < n } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment