ScalaTest 1.1
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
LongPlusOrMinusWrapper(right : Long)
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
plusOrMinus
(tolerance : Long) : LongTolerance
This method enables the following syntax:
seven should be (17L plusOrMinus 2) ^ |
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 : Long) : LongTolerance
seven should be (17L plusOrMinus 2) ^
ScalaTest 1.1
|
|