@Test
public void testScalDense() {

    double[] data = new double[] {1.0, 1.0};
    double alpha = 2.0;
    DenseVector v = new DenseVector(data);
    Vector exp = new DenseVector(data, true).times(alpha);
    Blas.scal(alpha, v);
    Assert.assertEquals(v, exp);
}