Explicitly

object Explicitly extends Explicitly

Companion object for Explicitly, which enables the Scalactic explicitly DSL to be imported rather than mixed in, like this:

import org.scalactic._
import Explicitly._

// Use the explicitly DSL...
Companion:
class
Source:
Explicitly.scala
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class DecidedByEquality[A](equality: Equality[A]) extends Equality[A]

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

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

Instances of this class are returned via the decided by <an Equality> syntax, and enables afterBeing to be invoked on it. Here's an example, given an Equality[String] named myStringEquality:

result should equal ("hello") (decided by myStringEquality afterBeing lowerCased)
Inherited from:
Explicitly
Source:
Explicitly.scala

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

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

Inherited from:
Explicitly
Source:
Explicitly.scala
class DeterminedByEquivalence[T](equivalence: Equivalence[T]) extends Equivalence[T]

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

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

Instances of this class are returned via the decided by <an Equivalence> syntax, and enables afterBeing to be invoked on it. Here's an example, given an Equivalence[String] named myStringEquivalence:

result should equal ("hello") (determined by myStringEquivalence afterBeing lowerCased)
Inherited from:
Explicitly
Source:
Explicitly.scala

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

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

Inherited from:
Explicitly
Source:
Explicitly.scala

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

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

Inherited from:
Explicitly
Source:
Explicitly.scala

Value members

Inherited fields

This field enables syntax such as the following:

This field enables syntax such as the following:

result should equal ("hello") (after being lowerCased)
                              ^
Inherited from:
Explicitly
Source:
Explicitly.scala

This field enables syntax such as the following:

This field enables syntax such as the following:

result should equal ("hello") (decided by defaultEquality)
                              ^
Inherited from:
Explicitly
Source:
Explicitly.scala

This field enables syntax such as the following, given an Equivalence[String] named myStringEquivalence:

This field enables syntax such as the following, given an Equivalence[String] named myStringEquivalence:

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