WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions