public abstract static class PrimitiveDoubleArraySubject.TolerantPrimitiveDoubleArrayComparison extends Object
double[]
subject
using a tolerance.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
Object.equals(Object) is not supported on
TolerantPrimitiveDoubleArrayComparison. If you meant to compare double arrays, use of(double...) or ofElementsIn(java.lang.Iterable<? extends java.lang.Number>) instead. |
int |
hashCode()
Deprecated.
Object.hashCode() is not supported on
TolerantPrimitiveDoubleArrayComparison |
void |
of(double... expected)
Fails if the values in the subject were expected to be within the tolerance of the given
values but were not or if they were expected not to be within the tolerance but
were.
|
abstract void |
ofElementsIn(Iterable<? extends Number> expected)
Fails if the values in the subject were expected to be within the tolerance of the given
values but were not or if they were expected not to be within the tolerance but
were.
|
public void of(double... expected)
public abstract void ofElementsIn(Iterable<? extends Number> expected)
@Deprecated public boolean equals(@NullableDecl Object o)
Object.equals(Object)
is not supported on
TolerantPrimitiveDoubleArrayComparison. If you meant to compare double arrays, use of(double...)
or ofElementsIn(java.lang.Iterable<? extends java.lang.Number>)
instead.equals
in class Object
UnsupportedOperationException
- always@Deprecated public int hashCode()
Object.hashCode()
is not supported on
TolerantPrimitiveDoubleArrayComparisonhashCode
in class Object
UnsupportedOperationException
- alwaysCopyright © 2018. All rights reserved.