Skip to content

Quickcheck: Investigate always testing special cases #46

Closed
@japaric

Description

@japaric

Right now we test the intrinsics by feeding them random input arguments. Given that we have full control of the Arbitrary implementation perhaps we can tweak the implementation to always generates special cases at the beginning. In other words, change the generated inputs from:

Today: e.g. i32 inputs: <rand>, <rand>, <rand>, ...
To: i32::MIN, 0, i32::MAX, <rand>, <rand>, ...

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