org.scalactic.Tolerance
See theTolerance companion object
trait Tolerance
Trait containing an implicit conversion that adds a +- method to Numeric types, which enables spreads to be expressed in terms of a pivot and tolerance.
For example, the TripleEquals trait (and its type-checking siblings TypeCheckedTripleEquals and ConversionCheckedTripleEquals) enable you to write:
a === (1.0 +- 0.1)
Attributes
- Companion
- object
- Source
- Tolerance.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Tolerance.type
Members list
In this article