### Question:
DiVector { public double getHighLowSum(int i) { return high[i] + low[i]; } DiVector(int dimensions);  DiVector(DiVector base); static DiVector addToLeft(DiVector left, DiVector right); int getDimensions(); DiVector scale(double z); void renormalize(double targetNorm); void componentwiseTransform(Function<Double, Double> function); double getHighLowSum(int i); double getHighLowSum(); final double[] high; final double[] low; }### Answer:
@Test public void testGetHighLowSum() { vector.high[2] = 3.1; vector.low[1] = 2.2; assertEquals(3.1 + 2.2, vector.getHighLowSum()); }