org.scalactic.Tolerance
See theTolerance companion trait
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 2.13.6 (OpenJDK 64-Bit Server VM, Java yyy). Type in expressions for evaluation. Or try :help. 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)
Attributes
- Companion
- trait
- Source
- Tolerance.scala
- Graph
-
- Supertypes
- Self type
-
Tolerance.type
Members list
In this article