trait NumericMatchers
Matchers for Numerical values
- Companion:
- object
class Object
trait Matchable
class Any
trait Matchers
object Matchers.type
trait MustMatchers
object MustMatchers.type
trait MustThrownMatchers
object MustThrownMatchers.type
trait ShouldMatchers
object ShouldMatchers.type
trait ShouldThrownMatchers
object ShouldThrownMatchers.type
object NumericMatchers.type
Value members
Concrete methods
matches if a value is between 2 others according to an Ordering
matches if a value is between 2 others according to an Ordering
matches if target - actual < 10 pow (log actual - significantDigits)
matches if target - actual < 10 pow (log actual - significantDigits)
Givens
Givens
given given_Conversion_S_CanHaveDelta[S](using evidence$10: Numeric[S]): given_Conversion_S_CanHaveDelta[S]
implicit definition to create delta for the beCloseTo matcher
implicit definition to create delta for the beCloseTo matcher
Extensions
Extensions
extension [N](target: N)
extension (value: Int)
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher