AtomicLongArrayAssert.contains(long... values)
Verifies that the actual
AtomicLongArray
contains the given values, in any order.
Verifies that the actual atomic array contains the given value at the given index.
Verifies that the actual array contains at least one of the given values.
Verifies that the actual AtomicLongArray contains only the given values and nothing else, in order.
Verifies that the actual AtomicLongArray contains exactly the given values and nothing else, in any order.
Verifies that the actual atomic array contains only the given values and nothing else, in any order.
Verifies that the actual atomic array contains the given values only once.
Verifies that the actual atomic array contains the given sequence, without any other values between them.
Verifies that the actual atomic array contains the given subsequence (possibly with other values between them).
Verifies that the actual atomic array does not contain the given values.
Verifies that the actual atomic array does not contain the given value at the given index.
Verifies that the actual atomic array does not contain duplicates.
AtomicLongArrayAssert.endsWith(long... sequence)
Verifies that the actual atomic array ends with the given sequence of values, without any other values between them.
AtomicLongArrayAssert.hasArray(long[] expected)
Verifies that the AtomicLongArray has the given array.
Verifies that the AtomicLongArray has the same size as given
Iterable
.
AtomicLongArrayAssert.hasSize(int expected)
Verifies that the number of values in the AtomicLongArray is equal to the given one.
AtomicLongArrayAssert.hasSizeBetween(int lowerBoundary,
int higherBoundary)
Verifies that the number of values in the actual array is between the given boundaries (inclusive).
Verifies that the number of values in the actual array is greater than the given boundary.
Verifies that the number of values in the actual array is greater than or equal to the given boundary.
Verifies that the number of values in the actual array is less than the given boundary.
Verifies that the number of values in the actual array is less than or equal to the given boundary.
Verifies that the AtomicLongArray is not empty.
Verifies that the actual AtomicLongArray is sorted in ascending order according to the natural ordering of its elements.
Verifies that the actual AtomicLongArray is sorted according to the given comparator.
Empty arrays are considered sorted whatever
the comparator is.
One element arrays are considered sorted if the element is compatible with comparator, otherwise an
AssertionError is thrown.
AtomicLongArrayAssert.startsWith(long... sequence)
Verifies that the actual atomic array starts with the given sequence of values, without any other values between them.
Revert to standard comparison for incoming assertion group element checks.
Use given custom comparator instead of relying on Long equals
method to compare elements for incoming assertion checks.