Run the given monoid/semigroup instance through their respective typeclass law tests.

  • Type Parameters

    • A

    Parameters

    • a: Arbitrary<A>

      An arbitrary for the underlying type A.

    • equalsA: Equivalence<A>

      Equivalence for the underlying type A.

    • Optionalparameters: ParameterOverrides

      Optional runtime fast-check parameters.

    Returns ((Monoid: Monoid<A>, suffix?: string) => void)

      • (Monoid, suffix?): void
      • Parameters

        • Monoid: Monoid<A>

          The monoid/semigroup instance under test.

        • suffix: string = ''

          Optional suffix will be added to description() block label.

        Returns void