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