GenOps

final class GenOps[T](val gen: Gen[T]) extends AnyVal

Mixin for some helpful implicits when dealing with ScalaCheck generator monads.

Allows for better mixing of property checks with normal single take test cases with randomized values.

Companion:
object
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def flatten[U](implicit ev: T <:< Gen[U]): Gen[U]

Flattens a generator of generators into a single generator.

Flattens a generator of generators into a single generator.

Concrete fields

val gen: Gen[T]