code: public static void assertShapeLessThan(int[] shape, int[] lessThan) {
          if (shape.length != lessThan.length) {
              throw new IllegalArgumentException("Shape length must be == less than length");
          }
          for (int i = 0; i < shape.length; i++) {
              if (shape[i] >= lessThan[i])
                  throw new IllegalStateException("Shape[" + i + "] should be less than lessThan[" + i + "]");
          }
      }
docs: Assert the both shapes are the same length
  and shape[i] < lessThan[i]
  @param shape the shape to check
  @param lessThan the shape to assert against