PlusOrMinusWrapper

org.scalactic.Tolerance.PlusOrMinusWrapper
final class PlusOrMinusWrapper[T](pivot: T)(implicit evidence$1: Numeric[T])

Wrapper class with a +- method that, given a Numeric argument, returns a Spread.

Value parameters

tolerance

the tolerance with which to create (and return) a Spread

Attributes

Source
Tolerance.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def +-(tolerance: T): Spread[T]

Creates and returns a Spread from the pivot passed to the constructor and the tolerance passed to this method.

Creates and returns a Spread from the pivot passed to the constructor and the tolerance passed to this method.

Value parameters

tolerance

the tolerance with which to create (and return) the Spread

Attributes

Source
Tolerance.scala