@Test
public void testAddConstantWithoutCopy() {

	double[] value1 = { 1, 2 };
	double[] value2 = { 2, 3 };
	double constantToAdd = 1;
	IVector vector = new SparseDoubleVector(value1);
	vector.addConstant(constantToAdd);
	assertEquals(vector, new SparseDoubleVector(value2));
}