SmartAssertions

zio.test.internal.SmartAssertions

Attributes

Source
SmartAssertions.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Implicits

Attributes

Source
SmartAssertions.scala
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]

Attributes

Source
SmartAssertions.scala
def as[A, B](implicit CB: ClassTag[B]): TestArrow[A, B]

Attributes

Source
SmartAssertions.scala

Attributes

Source
SmartAssertions.scala
def asCauseFailure[E]: TestArrow[Cause[E], E]

Attributes

Source
SmartAssertions.scala
def asExitCause[E]: TestArrow[Exit[E, Any], Cause[E]]

Attributes

Source
SmartAssertions.scala
def asExitDie[E, A]: TestArrow[Exit[E, A], Throwable]

Attributes

Source
SmartAssertions.scala
def asExitFailure[E]: TestArrow[Exit[E, Any], E]

Attributes

Source
SmartAssertions.scala

Attributes

Source
SmartAssertions.scala
def asExitSuccess[E, A]: TestArrow[Exit[E, A], A]

Attributes

Source
SmartAssertions.scala
def asLeft[A]: TestArrow[Either[A, _], A]

Attributes

Source
SmartAssertions.scala
def asRight[A]: TestArrow[Either[_, A], A]

Attributes

Source
SmartAssertions.scala

Attributes

Source
SmartAssertions.scala
def asTrySuccess[A]: TestArrow[Try[A], A]

Attributes

Source
SmartAssertions.scala
def containsCause[E](expected: Cause[E]): TestArrow[Cause[E], Boolean]

Attributes

Source
SmartAssertions.scala
def containsIterable[A](value: A): TestArrow[Iterable[A], Boolean]

Attributes

Source
SmartAssertions.scala
def containsOption[A](value: A): TestArrow[Option[A], Boolean]

Attributes

Source
SmartAssertions.scala
def containsSeq[A, B >: A](value: A): TestArrow[Seq[B], Boolean]

Attributes

Source
SmartAssertions.scala
def custom[A, B](customAssertion: CustomAssertion[A, B]): TestArrow[A, B]

Attributes

Source
SmartAssertions.scala
def endsWithSeq[A](postfix: Seq[A]): TestArrow[Seq[A], Boolean]

Attributes

Source
SmartAssertions.scala

Attributes

Source
SmartAssertions.scala
def equalTo[A](that: A)(implicit diff: OptionalImplicit[Diff[A]]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def equalToL[A, B](that: B)(implicit diff: OptionalImplicit[Diff[B]], conv: A => B): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def equalToR[A, B](that: B)(implicit diff: OptionalImplicit[Diff[A]], conv: B => A): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def existsIterable[A](predicate: TestArrow[A, Boolean]): TestArrow[Iterable[A], Boolean]

Attributes

Source
SmartAssertions.scala
def forallIterable[A](predicate: TestArrow[A, Boolean]): TestArrow[Iterable[A], Boolean]

Attributes

Source
SmartAssertions.scala
def greaterThan[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def greaterThanL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def greaterThanOrEqualTo[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def greaterThanOrEqualToL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def greaterThanOrEqualToR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def greaterThanR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def hasAt[A](index: Int): TestArrow[Seq[A], A]

Attributes

Source
SmartAssertions.scala
def hasField[A, B](name: String, proj: A => B): TestArrow[A, B]

Attributes

Source
SmartAssertions.scala
def hasKey[K, V](key: K): TestArrow[Map[K, V], V]

Attributes

Source
SmartAssertions.scala
def head[A]: TestArrow[Iterable[A], A]

Attributes

Source
SmartAssertions.scala
def is[A, B](implicit CB: ClassTag[B]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def isEven[A](implicit integral: Integral[A]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def isOdd[A](implicit integral: Integral[A]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def isSome[A]: TestArrow[Option[A], A]

Attributes

Source
SmartAssertions.scala
def last[A]: TestArrow[Iterable[A], A]

Attributes

Source
SmartAssertions.scala
def lessThan[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def lessThanL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def lessThanOrEqualTo[A](that: A)(implicit ordering: Ordering[A]): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def lessThanOrEqualToL[A, B](that: B)(implicit ordering: Ordering[B], conv: A => B): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def lessThanOrEqualToR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def lessThanR[A, B](that: B)(implicit ordering: Ordering[A], conv: B => A): TestArrow[A, Boolean]

Attributes

Source
SmartAssertions.scala
def startsWithSeq[A](prefix: Seq[A]): TestArrow[Seq[A], Boolean]

Attributes

Source
SmartAssertions.scala

Concrete fields

Attributes

Source
SmartAssertions.scala

Attributes

Source
SmartAssertions.scala