@Test
public void size() {

    testVector.setStorage(createStorage());
    assertTrue(testVector.size() == MathTestConstants.STORAGE_SIZE);
    testVector.setStorage(new DenseVectorStorage(MathTestConstants.STORAGE_SIZE + MathTestConstants.STORAGE_SIZE));
    assertTrue(testVector.size() == MathTestConstants.STORAGE_SIZE + MathTestConstants.STORAGE_SIZE);
    testVector = getAbstractVector(createStorage());
    assertTrue(testVector.size() == MathTestConstants.STORAGE_SIZE);
}