public static final class PrimitiveDoubleArraySubject.DoubleArrayAsIterable extends IterableSubject.UsingCorrespondence<Double,Number>
Iterable subjects, in which the elements of the array under test are
compared to expected elements using either exact or tolerant double equality: see PrimitiveDoubleArraySubject.usingExactEquality() and PrimitiveDoubleArraySubject.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 PrimitiveDoubleArraySubject.usingExactEquality() for details.
| Modifier and Type | Method and Description |
|---|---|
Ordered |
containsAllOf(double[] expected)
As
IterableSubject.UsingCorrespondence.containsAllOf(Object, Object, Object...) but taking a primitive double array. |
void |
containsAnyOf(double[] expected)
As
IterableSubject.UsingCorrespondence.containsAnyOf(Object, Object, Object...) but taking a primitive double array. |
Ordered |
containsExactly(double[] expected)
As
IterableSubject.UsingCorrespondence.containsExactly(Object...) but taking a primitive double array. |
void |
containsNoneOf(double[] excluded)
As
IterableSubject.UsingCorrespondence.containsNoneOf(Object, Object, Object...) but taking a primitive double array. |
contains, containsAllIn, containsAllIn, containsAllOf, containsAnyIn, containsAnyIn, containsAnyOf, containsAtLeast, containsAtLeastElementsIn, containsAtLeastElementsIn, containsExactly, containsExactlyElementsIn, containsExactlyElementsIn, containsNoneIn, containsNoneIn, containsNoneOf, displayingDiffsPairedBy, displayingDiffsPairedBy, doesNotContain@CanIgnoreReturnValue public Ordered containsAllOf(double[] expected)
IterableSubject.UsingCorrespondence.containsAllOf(Object, Object, Object...) but taking a primitive double array.public void containsAnyOf(double[] expected)
IterableSubject.UsingCorrespondence.containsAnyOf(Object, Object, Object...) but taking a primitive double array.@CanIgnoreReturnValue public Ordered containsExactly(double[] expected)
IterableSubject.UsingCorrespondence.containsExactly(Object...) but taking a primitive double array.public void containsNoneOf(double[] excluded)
IterableSubject.UsingCorrespondence.containsNoneOf(Object, Object, Object...) but taking a primitive double array.Copyright © 2019. All rights reserved.