public static boolean isStrictlyAscending(long[] array) {
    for (int index = 1; index < array.length; index++) {
      if (array[index] <= array[index - 1]) {
        return false;
      }
    }

    return true;
  }
@Test
  public void testStrictlyAscendingLongArrays() {
    long[] emptyArray = new long[0];
    assertThat(ArrayUtil.isStrictlyAscending(emptyArray)).isTrue();

    long[] singleElementArray = new long[] {1};
    assertThat(ArrayUtil.isStrictlyAscending(singleElementArray)).isTrue();

    long[] strictlyAscendingArray = new long[] {1, 2, 3};
    assertThat(ArrayUtil.isStrictlyAscending(strictlyAscendingArray)).isTrue();

    long[] descendingArray = new long[] {3, 2, 1};
    assertThat(ArrayUtil.isStrictlyAscending(descendingArray)).isFalse();

    long[] ascendingArray = new long[] {1, 2, 2, 3};
    assertThat(ArrayUtil.isStrictlyAscending(ascendingArray)).isFalse();
  }