shorts.
To create an instance of this class, invoke .
Assertions#assertThat(short[][])
| Modifier and Type | Field and Description |
|---|---|
| private final Failures | |
| protected Short2DArrays |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Short2DArrayAssert | |
| public Short2DArrayAssert | |
| public Short2DArrayAssert | Returns: myself assertion object.the value to look for. value, Index the index where the value should be stored in the actual index)short[][].Verifies that the actual |
| public Short2DArrayAssert | Returns: myself assertion object.the value to look for. value, Index the index where the value should be stored in the actual index)short[][].Verifies that the actual |
| public Short2DArrayAssert | Returns: this assertion object.the expected number of values in first dimension of the actual expectedFirstDimension, int short[][].the expected number of values in second dimension of the actual expectedSecondDimension)short[][].Implements org. |
| public Short2DArrayAssert | Returns: this assertion object.the expected number of rows of the two-dimensional array. expected)Implements org. |
| public Short2DArrayAssert | Returns: this assertion object.the array to compare dimensions with actual array)short[][].Implements org. short[][] has the same dimensions as the given array.
|
| public Short2DArrayAssert | Returns: this assertion object.the given value to compare the actual expected)short[][] to.Implements abstract org. short[][] is deeply equal to the given one.
|
| public void | isEmpty()
Implements org. short[][] 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 Short2DArrayAssert | Returns: this assertion object.the given value to compare the actual expected)short[][] to.Overrides org. Implements org. short[][] is equal to the given one.
|
| public Short2DArrayAssert | Returns: this assertion object.Implements org. short[][] is not empty, not empty means the array has at least one element.
|
| public void | isNullOrEmpty()
Implements org. short[][] 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.
|
| private static short[] |
| failures | back to summary |
|---|---|
| private final Failures failures | |
| short2dArrays | back to summary |
|---|---|
| protected Short2DArrays short2dArrays
| |
| Short2DArrayAssert | back to summary |
|---|---|
| public Short2DArrayAssert(short[][] actual) | |
| contains | back to summary |
|---|---|
| public Short2DArrayAssert contains(short[] value, Index index) Verifies that the actual Example:
| |
| contains | back to summary |
|---|---|
| public Short2DArrayAssert contains(int[] value, Index index) Verifies that the actual Example:
| |
| doesNotContain | back to summary |
|---|---|
| public Short2DArrayAssert doesNotContain(short[] value, Index index) Verifies that the actual Example:
| |
| doesNotContain | back to summary |
|---|---|
| public Short2DArrayAssert doesNotContain(int[] value, Index index) Verifies that the actual Example:
| |
| hasDimensions | back to summary |
|---|---|
| public Short2DArrayAssert hasDimensions(int expectedFirstDimension, int expectedSecondDimension) Implements org. Verifies that the actual 2D array has the given dimensions. Example:
| |
| hasNumberOfRows | back to summary |
|---|---|
| public Short2DArrayAssert hasNumberOfRows(int expected) Implements org. Verifies that the actual two-dimensional array has the given number of rows. Example:
| |
| hasSameDimensionsAs | back to summary |
|---|---|
| public Short2DArrayAssert 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 Short2DArrayAssert isDeepEqualTo(short[][] 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 Short2DArrayAssert isEqualTo(Object expected) Overrides org. Implements org. Verifies that the actual Warning This method will use Example:
| |
| isNotEmpty | back to summary |
|---|---|
| public Short2DArrayAssert isNotEmpty() Implements org. Verifies that the actual Example:
| |
| isNullOrEmpty | back to summary |
|---|---|
| public void isNullOrEmpty() Implements org. Verifies that the actual Example:
| |
| toShort | back to summary |
|---|---|
| private static short[] toShort(int[] value) | |