Skip to content

Proptest Support #940

@daxpedda

Description

@daxpedda

It would be useful to implement proptest::arbitrary::Arbitrary for various types of this library.

Regular integers and their wrappers could easily be implemented via construction from arrays. But *MontyForm types should implement their own Strategy with a custom ValueTree so they don't always have to reduce after ValueTree::complicate().

This will allow dependents to simply use proptest-derive to add Arbitrary to their own types.

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