@Test
public void testDot() throws Exception {

    Assert.assertEquals(MatVecOp.dot(dv, sv), 4.0, TOL);
    Assert.assertEquals(MatVecOp.dot(sv, dv), 4.0, TOL);
    Assert.assertEquals(MatVecOp.dot(sv, sv), 2.0, TOL);
    Assert.assertEquals(MatVecOp.dot(dv, dv), 30.0, TOL);
}