org.scalatest.matchers.Matchers

class BytePlusOrMinusWrapper

[source: org/scalatest/matchers/Matchers.scala]

final class BytePlusOrMinusWrapper(right : Byte)
extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for ShouldMatchers or MustMatchers for an overview of the matchers DSL.
Author
Bill Venners
Method Summary
def plusOrMinus (tolerance : Byte) : ByteTolerance
This method enables the following syntax:
     seven should be (17.toByte plusOrMinus 2.toByte)
                                ^
     
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 : Byte) : ByteTolerance
This method enables the following syntax:
     seven should be (17.toByte plusOrMinus 2.toByte)
                                ^
     


Copyright (C) 2001-2010 Artima, Inc. All rights reserved.