for (int i = 0; i < 5; ++i) {
for (int j = 4; j < 7; ++j) {
final double tmp[] = new double[j-i +1];
System.arraycopy(array, i, tmp, 0, j-i+1);
final Array con = new Array(tmp, flags);
final int offset = con.begin();
final int pos = con.lowerBound(1);
if (pos != 4 - i + offset) {
fail(MESSAGE);
}