DeterminedWord

org.scalactic.Explicitly.DeterminedWord

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 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)
                                         ^

Attributes

Source
Explicitly.scala