API Reference | fast-check | Property based testing framework
    Preparing search index...

    Class Random

    Wrapper around an instance of a pure-rand's random number generator offering a simpler interface to deal with random with impure patterns

    Index

    Constructors

    • Create a mutable random number generator by cloning the passed one and mutate it

      Parameters

      • sourceRng: RandomGenerator

        Immutable random generator from pure-rand library, will not be altered (a clone will be)

      Returns Random

    Methods