← ZIO Cli docs

Tree

zio.cli.testkit.Tree
See theTree companion object
final case class Tree[A](atoms: List[Gen[Any, A]], mappers: List[Mapper[A, Any]], operators: List[(A, A) => A], depth: Int)

Tree helps constructing a generator Gen with desired depth of a tree structure

Attributes

Companion
object
Source
Tree.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def anyTree(depth: Int): Gen[Any, A]

Attributes

Source
Tree.scala
def gen: Gen[Any, A]

Attributes

Source
Tree.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

lazy val anyAtom: Gen[Any, A]

Attributes

Source
Tree.scala