Scalactic is brought to you by:

object Equality

Companion object for trait Equality that provides factory methods for producing Equality instances.

Source
Equality.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Equality
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[A](uniformity: Uniformity[A]): NormalizingEquality[A]

    Produces a NormalizingEquality[A] whose normalized, normalizedCanHandle, and normalizedOrSame methods delegate to the passed Uniformity[A].

    Produces a NormalizingEquality[A] whose normalized, normalizedCanHandle, and normalizedOrSame methods delegate to the passed Uniformity[A].

    A

    the type of passed Uniformity and returned NormalizingEquality.

    uniformity

    the Uniformity to which the returned NormalizingEquality should delegate.

  2. implicit def default[A]: Equality[A]

    Provides default Equality implementations for the specified type whose areEqual method first calls .deep on any Array (on either the left or right side), then compares the resulting objects with ==.

    Provides default Equality implementations for the specified type whose areEqual method first calls .deep on any Array (on either the left or right side), then compares the resulting objects with ==.

    returns

    a default Equivalence[A]