Equivalence

org.scalactic.Equivalence
See theEquivalence companion trait
object Equivalence

Companion object for trait Equivalence that provides a factory method for producing default Equivalence instances.

Attributes

Companion
trait
Source
Equivalence.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Implicits

Implicits

implicit def default[T]: Equivalence[T]

Provides default Equivalence 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 Equivalence 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 ==.

Attributes

Returns

a default Equivalence[T]

Source
Equivalence.scala