| public void testRow() {
final Matrix3 m = new Matrix3(
1., 2., 3.,
4., 5., 6.,
7., 8., 9.);
final Vector3 r1 = m.row(0);
assertEquals(1., r1.x);
assertEquals(2., r1.y);
assertEquals(3., r1.z);
final Vector3 r2 = m.row(1);
assertNotSame(r1, r2); // Vector is not recycled
|