DeterminedWord

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

Source:
Explicitly.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def by[A](equivalence: Equivalence[A]): DeterminedByEquivalence[A]

This method enables the following syntax, given an Equivalence[String] named myStringEquivalence:

This method enables the following syntax, given an Equivalence[String] named myStringEquivalence:

result should equal ("hello") (determined by myStringEquivalence)
                                         ^
Source:
Explicitly.scala