org.specs2.matcher

NumericMatchers

trait NumericMatchers extends NumericBaseMatchers with NumericBeHaveMatchers

Matchers for Numerical values

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

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

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

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  6. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  7. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  8. def > [S] (n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

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

    implicit definition to create delta for the beCloseTo matcher

    implicit definition to create delta for the beCloseTo matcher

    Attributes
    implicit
    Definition Classes
    NumericBaseMatchers
  11. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  12. def beCloseTo [S] (delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

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

    matches if x = n +/- delta

    matches if x = n +/- delta

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

    matches if x > n

    matches if x > n

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

    matches if x >= n

    matches if x >= n

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

    matches if x < n

    matches if x < n

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

    matches if x <= n

    matches if x <= n

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

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

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

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  22. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def closeTo [S] (delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

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

    Definition Classes
    NumericBaseMatchers
  25. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def getClass (): java.lang.Class[_]

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

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

    Definition Classes
    NumericBaseMatchers
  31. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  32. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  33. def lessThan [S] (n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

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

    Definition Classes
    NumericBaseMatchers
  35. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  36. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  37. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  38. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  39. implicit def toNeutralMatcherNumeric (result: NeutralMatcher[Any]): NeutralMatcherNumeric

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

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

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

    matcher aliases and implicits to use with be + matcher

    matcher aliases and implicits to use with be + matcher

    Attributes
    implicit
    Definition Classes
    NumericBeHaveMatchers
  43. def toString (): String

    Definition Classes
    AnyRef → Any
  44. def wait (): Unit

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

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

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

    alias for beCloseTo

    alias for beCloseTo

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

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from NumericBeHaveMatchers

Inherited from NumericBaseMatchers

Inherited from AnyRef

Inherited from Any