void () { Vector vector = Vector.create(1, 2, 3); assertEquals(vector, vector.multiply(Matrix.createIdentity(3))); Matrix matrix = Matrix.create(3, /*row:*/ 11, 21, /*row:*/ 12, 22, /*row:*/ 13, 23); Vector result = vector.multiply(matrix); assertEquals(Vector.create(74, 134), result); assertEquals(matrix.getColumns(), result.getSize()); assertEquals(Matrix.createRow(result), Matrix.createRow(vector).multiply(matrix)); }