SwiftCheck icon indicating copy to clipboard operation
SwiftCheck copied to clipboard

Integer partition generator

Open ferranpujolcamins opened this issue 5 years ago • 0 comments

I've written an integer partition generator. For example, I have used it to write a generator for a tree:

class Tree<A> {
    let root: A
    let subForest: [Tree<A>]
}

Let me know if you consider that this belongs to SwiftCheck, I'll then open a PR.

ferranpujolcamins avatar Oct 08 '20 09:10 ferranpujolcamins