public static final class PrimitiveFloatArraySubject.FloatArrayAsIterable extends IterableSubject.UsingCorrespondence<Float,Number>
Iterable subjects, in which the elements of the array under test are
compared to expected elements using either exact or tolerant float equality: see PrimitiveFloatArraySubject.usingExactEquality() and PrimitiveFloatArraySubject.usingTolerance(double). Call methods on this object to actually
execute the check.
In the exact equality case, the methods on this class which take Number arguments
only accept certain instances: again, see PrimitiveFloatArraySubject.usingExactEquality() for details.
| Modifier and Type | Method and Description |
|---|---|
Ordered |
containsAllOf(float[] expected)
As
IterableSubject.UsingCorrespondence.containsAllOf(Object, Object, Object...) but taking a primitive float array. |
void |
containsAnyOf(float[] expected)
As
IterableSubject.UsingCorrespondence.containsAnyOf(Object, Object, Object...) but taking a primitive float array. |
Ordered |
containsExactly(float[] expected)
As
IterableSubject.UsingCorrespondence.containsExactly(Object...) but taking a primitive float array. |
void |
containsNoneOf(float[] excluded)
As
IterableSubject.UsingCorrespondence.containsNoneOf(Object, Object, Object...) but taking a primitive float array. |
contains, containsAllIn, containsAllIn, containsAllOf, containsAnyIn, containsAnyIn, containsAnyOf, containsExactly, containsExactlyElementsIn, containsExactlyElementsIn, containsNoneIn, containsNoneIn, containsNoneOf, displayingDiffsPairedBy, displayingDiffsPairedBy, doesNotContain@CanIgnoreReturnValue public Ordered containsAllOf(float[] expected)
IterableSubject.UsingCorrespondence.containsAllOf(Object, Object, Object...) but taking a primitive float array.public void containsAnyOf(float[] expected)
IterableSubject.UsingCorrespondence.containsAnyOf(Object, Object, Object...) but taking a primitive float array.@CanIgnoreReturnValue public Ordered containsExactly(float[] expected)
IterableSubject.UsingCorrespondence.containsExactly(Object...) but taking a primitive float array.public void containsNoneOf(float[] excluded)
IterableSubject.UsingCorrespondence.containsNoneOf(Object, Object, Object...) but taking a primitive float array.Copyright © 2018. All rights reserved.