org.specs2.matcher

NumericMatchers

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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class NeutralMatcherNumeric extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  2. class NeutralMatcherOrdered extends AnyRef

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

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

    Definition Classes
    NumericBeHaveMatchers

Value Members

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

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

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

    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. final def ==(arg0: AnyRef): Boolean

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

    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

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

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

    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
  13. 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
  14. 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
  15. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

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

    matches if x >= n

    matches if x >= n

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

    matches if x < n

    matches if x < n

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

    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]

    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]

    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]

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

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

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

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

    Definition Classes
    NumericBaseMatchers
  26. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Definition Classes
    NumericBaseMatchers
  35. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

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

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

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

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

    Definition Classes
    NumericBeHaveMatchers
  46. 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

    Definition Classes
    NumericBeHaveMatchers
  47. def toString(): String

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

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

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

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

    alias for beCloseTo

    alias for beCloseTo

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

    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