ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
ShortPlusOrMinusWrapper(right : Short)
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
plusOrMinus
(tolerance : Short) : ShortTolerance
This method enables the following syntax:
seven should be (17.toShort plusOrMinus 2.toShort) ^ |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
plusOrMinus(tolerance : Short) : ShortTolerance
seven should be (17.toShort plusOrMinus 2.toShort) ^
ScalaTest 1.0
|
|