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: Any): Boolean

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

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

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

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

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

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  8. 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
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. 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
  11. 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
  12. 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
  13. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

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

    matches if x >= n

    matches if x >= n

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

    matches if x < n

    matches if x < n

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

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  17. 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
  18. 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
  19. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

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

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

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

    alias for beGreaterThan

    alias for beGreaterThan

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

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

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

    Definition Classes
    NumericBaseMatchers
  24. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Definition Classes
    NumericBaseMatchers
  33. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    NumericBeHaveMatchers
  44. 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
  45. def toString(): String

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

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

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

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

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  50. 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