Skip to content

Slice shuffle and unique pick generators #88

@Bastes

Description

@Bastes

Using this (awesome) library, I've written a slice shuffle generator again and again for some of my use cases.

I'm currently working on a merge request that integrates that to the gopter.Gen package along with tests.

It's using Fisher-Yates shuffle algorithm so it shouldn't be too long to run, and give a properly random result. I've considered a reducer but I'm not sure it's necessary, all my tests using this gave good enough feedback without it.

Let me know if there's something I haven't thought through, I'll be sending the MR whenever I've finished writing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions