object NumericMatchers extends NumericMatchers
- Alphabetic
- By Inheritance
- NumericMatchers
- NumericMatchers
- NumericBeHaveMatchers
- BeHaveMatchers
- NumericBaseMatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
NeutralMatcherNumeric extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
-
class
NeutralMatcherOrdered extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
-
class
NumericResultMatcher[S] extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
-
class
OrderedResultMatcher[S] extends AnyRef
- Definition Classes
- NumericBeHaveMatchers
-
implicit
class
SignificantFiguresSyntax extends AnyRef
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Definition Classes
- NumericMatchers
-
implicit
class
SignificantSyntax[N] extends AnyRef
implicit definition to create significant figures for the beCloseTo matcher
implicit definition to create significant figures for the beCloseTo matcher
- Definition Classes
- NumericMatchers
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
alias for beLessThan
alias for beLessThan
- Definition Classes
- NumericBaseMatchers
-
def
<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThan
alias for beGreaterThan
- Definition Classes
- NumericBaseMatchers
-
def
>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
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
- NumericMatchers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
be: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
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
-
def
beCloseTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
beCloseTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]
matches if target - actual < 10 pow (log x - significantDigits)
matches if target - actual < 10 pow (log x - significantDigits)
- Definition Classes
- NumericBaseMatchers
-
def
beCloseTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
matches if x = n +/- delta
matches if x = n +/- delta
- Definition Classes
- NumericBaseMatchers
-
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
-
def
beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
matches if x > n
matches if x > n
- Definition Classes
- NumericBaseMatchers
-
def
beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
matches if x >= n
matches if x >= n
- Definition Classes
- NumericBaseMatchers
-
def
beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
matches if x < n
matches if x < n
- Definition Classes
- NumericBaseMatchers
-
def
beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
matches if x <= n
matches if x <= n
- Definition Classes
- NumericBaseMatchers
-
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
-
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
-
def
be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
alias for beLessThan
alias for beLessThan
- Definition Classes
- NumericBaseMatchers
-
def
be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
alias for beLessThanOrEqualTo
alias for beLessThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
def
be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThan
alias for beGreaterThan
- Definition Classes
- NumericBaseMatchers
-
def
be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
alias for beGreaterThanOrEqualTo
alias for beGreaterThanOrEqualTo
- Definition Classes
- NumericBaseMatchers
-
def
between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]
- Definition Classes
- NumericBaseMatchers
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
closeTo[S](target: SignificantTarget[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
closeTo[S](target: S, figures: SignificantFigures)(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
closeTo[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]
- Definition Classes
- NumericBaseMatchers
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
have: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]
- Definition Classes
- NumericBaseMatchers
-
def
lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]
matches if x <= n
matches if x <= n
- Definition Classes
- NumericBaseMatchers
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not: NotMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric
- Definition Classes
- NumericBeHaveMatchers
-
implicit
def
toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered
- Definition Classes
- NumericBeHaveMatchers
-
implicit
def
toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]
- Definition Classes
- NumericBeHaveMatchers
-
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
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
~[S](delta: PlusOrMinus[S])(implicit arg0: Numeric[S]): Matcher[S]
alias for beCloseTo
alias for beCloseTo
- Definition Classes
- NumericBaseMatchers
-
def
~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]
alias for beCloseTo
alias for beCloseTo
- Definition Classes
- NumericBaseMatchers