Object/Trait

org.specs2.matcher

NumericMatchers

Related Docs: trait NumericMatchers | package matcher

Permalink

object NumericMatchers extends NumericMatchers

Linear Supertypes
NumericMatchers, NumericBeHaveMatchers, NumericBaseMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NumericMatchers
  2. NumericMatchers
  3. NumericBeHaveMatchers
  4. NumericBaseMatchers
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class NeutralMatcherNumeric extends AnyRef

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  2. class NeutralMatcherOrdered extends AnyRef

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  3. class NumericResultMatcher[S] extends AnyRef

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  4. class OrderedResultMatcher[S] extends AnyRef

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  5. implicit class SignificantFiguresSyntax extends AnyRef

    Permalink

    implicit definition to create significant figures for the beCloseTo matcher

    implicit definition to create significant figures for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers
  6. implicit class SignificantSyntax[N] extends AnyRef

    Permalink

    implicit definition to create significant figures for the beCloseTo matcher

    implicit definition to create significant figures for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  4. def <=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  7. def >=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  8. implicit def ToDelta[S](n: S)(implicit arg0: Numeric[S]): CanHaveDelta[S]

    Permalink

    implicit definition to create delta for the beCloseTo matcher

    implicit definition to create delta for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def beBetween[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink

    matches if a value is between 2 others according to an Ordering

    matches if a value is between 2 others according to an Ordering

    Definition Classes
    NumericBaseMatchers
  11. def beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  12. def beCloseTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    matches if target - actual < 10 pow (log x - significantDigits)

    matches if target - actual < 10 pow (log x - significantDigits)

    Definition Classes
    NumericBaseMatchers
  13. def beCloseTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  14. def beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  15. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  16. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  17. def beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  18. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  19. def be[[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink

    alias for the adventurous: 5 must (be[(2, 7)[)

    alias for the adventurous: 5 must (be[(2, 7)[)

    Definition Classes
    NumericBaseMatchers
  20. def be][T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink

    alias for the adventurous: 5 must (be](2, 7)[)

    alias for the adventurous: 5 must (be](2, 7)[)

    Definition Classes
    NumericBaseMatchers
  21. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  22. def be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  23. def be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  24. def be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  25. def between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Permalink
    Definition Classes
    NumericBaseMatchers
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def closeTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  28. def closeTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  29. def closeTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  30. def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  31. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  33. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  36. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  37. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. def lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  40. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Permalink
    Definition Classes
    NumericBaseMatchers
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  46. implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  47. implicit def toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]

    Permalink
    Definition Classes
    NumericBeHaveMatchers
  48. implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit arg0: (S) ⇒ Ordered[S]): OrderedResultMatcher[S]

    Permalink

    matcher aliases and implicits to use with be + matcher

    matcher aliases and implicits to use with be + matcher

    Definition Classes
    NumericBeHaveMatchers
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  50. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. def ~[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  54. def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Permalink

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from NumericMatchers

Inherited from NumericBeHaveMatchers

Inherited from NumericBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped