TheAfterWord

org.scalactic.Explicitly.TheAfterWord
class TheAfterWord

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

Attributes

Source
Explicitly.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def being[N](uniformity: Uniformity[N])(implicit equality: Equality[N]): NormalizingEquality[N]

This method enables syntax such as the following:

This method enables syntax such as the following:

result should equal ("hello") (after being lowerCased)
                              ^

Value parameters

uniformity

a Uniformity with which to normalize an object of type N before comparing it for equality with another N using the implicitly passed Equality[N].

Attributes

Source
Explicitly.scala
def being[N](normalization: Normalization[N])(implicit equivalence: Equivalence[N]): NormalizingEquivalence[N]

This method enables syntax such as the following, given a Normalization[String] named capitalized (and assuming the members of TypeCheckedTripleEquals or ConversionCheckedTripleEquals are in scope:

This method enables syntax such as the following, given a Normalization[String] named capitalized (and assuming the members of TypeCheckedTripleEquals or ConversionCheckedTripleEquals are in scope:

result should === ("hello") (after being capitalized)
                                  ^

Value parameters

normalization

a Normalization with which to normalize an object of type N before comparing it for equality with another N using the implicitly passed Equivalence[N].

Attributes

Source
Explicitly.scala