Generator

oxygen.test.Generator
See theGenerator companion object
sealed trait Generator[+A]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Bounded[A]
class ConcatBounded[A]
class Finite[A]
class MapBounded[A, A2]
trait Unbounded[A]
class ConcatUnbounded[A]
class FlatMapUnbounded[A, A2]
class MapUnbounded[A, A2]
class OfSeq[S, A]
class Rand[A]
Show all
Self type

Members list

Value members

Abstract methods

def gen: UIO[A]
def genN(n: Int): UIO[Chunk[A]]
def streamExhaustiveOrSized: UStream[A]
def streamN(n: Int): UStream[A]

Concrete methods

final def ++[A2 >: A](that: Generator[A2]): Generator[A2]
final def concat[A2 >: A](that: Generator[A2]): Generator[A2]
final def flatMap[B](f: A => Generator[B]): Generator[B]
final def genExhaustiveOrSized: UIO[Chunk[A]]
final def genExhaustiveOrSizedWithSize(size: Int): UIO[Chunk[A]]
def map[B](f: A => B): Generator[B]
final def streamSized: UStream[A]