SmartAssertions

zio.test.internal.SmartAssertions

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Implicits

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Implicits.type

Value members

Concrete methods

def approximatelyEquals[A : Numeric](reference: A, tolerance: A): TestArrow[A, Boolean]
def as[A, B](implicit CB: ClassTag[B]): TestArrow[A, B]
def asCauseFailure[E]: TestArrow[Cause[E], E]
def asExitCause[E]: TestArrow[Exit[E, Any], Cause[E]]
def asExitDie[E, A]: TestArrow[Exit[E, A], Throwable]
def asExitFailure[E]: TestArrow[Exit[E, Any], E]
def asExitSuccess[E, A]: TestArrow[Exit[E, A], A]
def asLeft[A]: TestArrow[Either[A, _], A]
def asRight[A]: TestArrow[Either[_, A], A]
def asTrySuccess[A]: TestArrow[Try[A], A]
def containsCause[E](expected: Cause[E]): TestArrow[Cause[E], Boolean]
def containsIterable[A](value: A): TestArrow[Iterable[A], Boolean]
def containsOption[A](value: A): TestArrow[Option[A], Boolean]
def containsSeq[A, B >: A](value: A): TestArrow[Seq[B], Boolean]
def custom[A, B](customAssertion: CustomAssertion[A, B]): TestArrow[A, B]
def endsWithSeq[A](postfix: Seq[A]): TestArrow[Seq[A], Boolean]
def equalTo[A](that: A)(implicit diff: OptionalImplicit[Diff[A]]): TestArrow[A, Boolean]
def equalToL[A, B](that: B)(implicit diff: OptionalImplicit[Diff[B]], conv: A => B): TestArrow[A, Boolean]
def equalToR[A, B](that: B)(implicit diff: OptionalImplicit[Diff[A]], conv: B => A): TestArrow[A, Boolean]
def existsIterable[A](predicate: TestArrow[A, Boolean]): TestArrow[Iterable[A], Boolean]
def forallIterable[A](predicate: TestArrow[A, Boolean]): TestArrow[Iterable[A], Boolean]
def greaterThan[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]
def greaterThanL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]
def greaterThanOrEqualTo[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]
def greaterThanOrEqualToL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]
def greaterThanOrEqualToR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]
def greaterThanR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]
def hasAt[A](index: Int): TestArrow[Seq[A], A]
def hasField[A, B](name: String, proj: A => B): TestArrow[A, B]
def hasKey[K, V](key: K): TestArrow[Map[K, V], V]
def head[A]: TestArrow[Iterable[A], A]
def is[A, B](implicit CB: ClassTag[B]): TestArrow[A, Boolean]
def isEven[A](implicit integral: Integral[A]): TestArrow[A, Boolean]
def isOdd[A](implicit integral: Integral[A]): TestArrow[A, Boolean]
def isSome[A]: TestArrow[Option[A], A]
def last[A]: TestArrow[Iterable[A], A]
def lessThan[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]
def lessThanL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]
def lessThanOrEqualTo[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]
def lessThanOrEqualToL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]
def lessThanOrEqualToR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]
def lessThanR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]
def startsWithSeq[A](prefix: Seq[A]): TestArrow[Seq[A], Boolean]

Concrete fields