public abstract static class PrimitiveFloatArraySubject.TolerantPrimitiveFloatArrayComparison extends Object
float[]
subject
using a tolerance.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
Object.equals(Object) is not supported on
TolerantPrimitiveFloatArrayComparison. If you meant to compare float arrays, use of(float...) or ofElementsIn(java.lang.Iterable<? extends java.lang.Number>) instead. |
int |
hashCode()
Deprecated.
Object.hashCode() is not supported on
TolerantPrimitiveFloatArrayComparison |
void |
of(float... 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(float... expected)
public abstract void ofElementsIn(Iterable<? extends Number> expected)
@Deprecated public boolean equals(@NullableDecl Object o)
Object.equals(Object)
is not supported on
TolerantPrimitiveFloatArrayComparison. If you meant to compare float arrays, use of(float...)
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
TolerantPrimitiveFloatArrayComparisonhashCode
in class Object
UnsupportedOperationException
- alwaysCopyright © 2018. All rights reserved.