org.scalatest.matchers.Matchers
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.
This method enables the following syntax:
This method enables the following syntax:
sevenDotOhShort should not be (4.toShort plusOrMinus 2.toShort)
This method enables the following syntax, where odd
refers to
a BeMatcher[Int]
:
This method enables the following syntax, where odd
refers to
a BeMatcher[Int]
:
2 should not be (odd)
This method enables the following syntax:
This method enables the following syntax:
result should not be === (7)
This method enables the following syntax:
This method enables the following syntax:
result should not be > (7)
This method enables the following syntax:
This method enables the following syntax:
result should not be < (7)
This method enables the following syntax:
This method enables the following syntax:
result should not be >= (7)
This method enables the following syntax:
This method enables the following syntax:
result should not be <= (7)
This method enables the following syntax:
This method enables the following syntax:
result should not be (7)
This method enables the following syntax:
This method enables the following syntax:
result should not equal (7)
This class is part of the ScalaTest matchers DSL. Please see the documentation for
ShouldMatchers
orMustMatchers
for an overview of the matchers DSL.