Prop

object Prop

Companion object with factory methods

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Prop.type

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply[T](label: String, actual: => T): Prop[T, T]

create a Prop with a label and an actual value

create a Prop with a label and an actual value

def apply[T, S, R](label: String, act: => T, c: (T, S) => R)(using evidence$1: AsResult[R]): Prop[T, S]

create a Prop with a label, an actual value, and a constraint

create a Prop with a label, an actual value, and a constraint

def apply[T, S](label: String, act: => T, c: S => Matcher[T]): Prop[T, S]

create a Prop with a label, an expected value, and a constraint

create a Prop with a label, an expected value, and a constraint

def apply[T](label: String, act: => T, c: Matcher[T]): Prop[T, T]

create a Prop with a label, an actual value, and a matcher on the actual value

create a Prop with a label, an actual value, and a matcher on the actual value

def apply[T, S](label: String, act: => T, exp: => S, c: Matcher[T]): Prop[T, S]

create a Prop with a label, an actual value, an expected value, and a constraint on the actual value

create a Prop with a label, an actual value, an expected value, and a constraint on the actual value

def apply[T](label: String): Prop[T, T]

create a Prop with a label

create a Prop with a label

def apply[T](act: => T): Prop[T, T]

create a Prop with an empty label and an actual value

create a Prop with an empty label and an actual value