TripleEqualsInvocation

org.scalactic.TripleEqualsSupport.TripleEqualsInvocation
final case class TripleEqualsInvocation[T](right: T, expectingEqual: Boolean)

Facilitates the “should ===” and “should !==” syntax of ScalaTest's matchers DSL.

Instances of this class are created and returned by the === and !== methods of trait TripleEqualsSupport.

Value parameters

expectingEqual

true if the result of a === invocation; false if the result of a !== invocation.

right

the right-hand side value for an equality assertion

Attributes

Source
TripleEqualsSupport.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
TripleEqualsSupport.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product