### Question:
Vector { public int getMaxRows() { return packedValues.length; } Vector(final int length);  Vector(final Vector A);  Vector(final long[] values); Vector plus(final Vector B, final Vector result); Vector minus(final Vector B, final Vector result); double dotProduct(final Vector B); Vector multi(final double alpha, final Vector result); void setValue(final int index, final double value); double getValue(final int index); int getMaxRows(); @Override String toString();  }### Answer:
@Test public void v4_getRow_FourRows_CorrectResult() { final Vector A = new Vector(4); final int result = A.getMaxRows(); Assert.assertEquals(4, result, 0); }