ScalaTest 1.0
|
|
org/scalatest/matchers/Matchers.scala
]
final
class
DoublePlusOrMinusWrapper(right : Double)
extends
AnyRefShouldMatchers
or MustMatchers
for an overview of
the matchers DSL.Method Summary | |
def
|
plusOrMinus
(tolerance : Double) : DoubleTolerance
This method enables the following syntax:
sevenDotOh should be (17.0 plusOrMinus 0.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 : Double) : DoubleTolerance
sevenDotOh should be (17.0 plusOrMinus 0.2) ^
ScalaTest 1.0
|
|