floats.
| Modifier and Type | Field and Description |
|---|---|
| private final Failures | |
| protected Float2DArrays |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Float2DArrayAssert | |
| public Float2DArrayAssert | Returns: this assertion object.the value to look for. value, Index the index where the value should be stored in the actual array. index)Verifies that the actual array does not contain the given float[] at the given index. |
| public Float2DArrayAssert | Returns: this assertion object.the expected number of values in first dimension of the actual expectedFirstDimension, int float[][].the expected number of values in second dimension of the actual expectedSecondDimension)float[][].Implements org. float[][] has the given dimensions.
|
| public Float2DArrayAssert | Returns: this assertion object.the expected number of rows of the two-dimensional array. expected)Implements org. |
| public Float2DArrayAssert | Returns: this assertion object.the array to compare dimensions with actual array)float[][].Implements org. float[][] has the same dimensions as the given array.
|
| public Float2DArrayAssert | Returns: this assertion object.the given value to compare the actual value to. expected)Implements abstract org. float[][] is deeply equal to the given one.
|
| public void | isEmpty()
Implements org. float[][] is empty, empty means the array has no elements,
said otherwise it can have any number of rows but all rows must be empty.
|
| public Float2DArrayAssert | Returns: this assertion object.the given value to compare the actual expected)float[][] to.Overrides org. Implements org. float[][] is equal to the given one.
|
| public Float2DArrayAssert | Returns: this assertion object.Implements org. float[][] is not empty, not empty means the array has at least one element.
|
| public void | isNullOrEmpty()
Implements org. float[][] is null or empty, empty means the array has no elements,
said otherwise it can have any number of rows but all rows must be empty.
|
| failures | back to summary |
|---|---|
| private final Failures failures | |
| float2dArrays | back to summary |
|---|---|
| protected Float2DArrays float2dArrays
| |
| Float2DArrayAssert | back to summary |
|---|---|
| public Float2DArrayAssert(float[][] actual) | |
| contains | back to summary |
|---|---|
| public Float2DArrayAssert contains(float[] value, Index index) Verifies that the actual array contains the given float[] at the given index. Example:
| |
| doesNotContain | back to summary |
|---|---|
| public Float2DArrayAssert doesNotContain(float[] value, Index index) Verifies that the actual array does not contain the given float[] at the given index. Example:
| |
| hasDimensions | back to summary |
|---|---|
| public Float2DArrayAssert hasDimensions(int expectedFirstDimension, int expectedSecondDimension) Implements org. Verifies that the actual Example:
| |
| hasNumberOfRows | back to summary |
|---|---|
| public Float2DArrayAssert hasNumberOfRows(int expected) Implements org. Verifies that the actual two-dimensional array has the given number of rows. Example:
| |
| hasSameDimensionsAs | back to summary |
|---|---|
| public Float2DArrayAssert hasSameDimensionsAs(Object array) Implements org. Verifies that the actual Parameter is declared as Object to accept both Object and primitive arrays. Example:
| |
| isDeepEqualTo | back to summary |
|---|---|
| public Float2DArrayAssert isDeepEqualTo(float[][] expected) Implements abstract org. Verifies that the actual
Two arrays are considered deeply equal if both are Example:
| |
| isEmpty | back to summary |
|---|---|
| public void isEmpty() Implements org. Verifies that the actual Example:
| |
| isEqualTo | back to summary |
|---|---|
| public Float2DArrayAssert isEqualTo(Object expected) Overrides org. Implements org. Verifies that the actual Warning This method will use Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public Float2DArrayAssert isNotEmpty() Implements org. Verifies that the actual Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Implements org. Verifies that the actual Example:
| |