Companion object to trait Tolerance that facilitates the importing of Tolerance members as
an alternative to mixing it in. One use case is to import Tolerance members so you can use
them in the Scala interpreter:
$ scala -classpath scalactic.jar Welcome to Scala version 2.10.0 Type in expressions to have them evaluated. Type :help for more information. scala> import org.scalactic._ import org.scalactic._ scala> import Tolerance._ import Tolerance._ scala> 1.0 +- 0.1 res0: org.scalactic.TripleEqualsSupport.Spread[Double] = Spread(1.0,0.1)
Wrapper class with a +- method that, given a Numeric argument, returns a Spread.
Wrapper class with a +- method that, given a Numeric argument, returns a Spread.
Implicitly converts an object of a Numeric type to a PlusOrMinusWrapper,
to enable a +- method to be invoked on that object.
Implicitly converts an object of a Numeric type to a PlusOrMinusWrapper,
to enable a +- method to be invoked on that object.