assertTrue(Vector3.of(3, 6, 9).epsilonEquals(ct.transform(v)));
}
@Test
public void testRotationMatrix() {
AVector v=Vectorz.createUniformRandomVector(3);
double angle=Math.random();
Matrix33 rot=Matrixx.createRotationMatrix(v, angle);
AVector r=rot.transform(v);
assertEquals(v.get(0),r.get(0),0.00001);
assertEquals(v.get(1),r.get(1),0.00001);
assertEquals(v.get(2),r.get(2),0.00001);
assertEquals(v.magnitude(),r.magnitude(),0.00001);
assertTrue(r.epsilonEquals(v));
}