const angle = 1.23; // switch to Array type to keep precision high for expected const expected = mat4.multiply(m, mat4.rotationY(angle, new Array(16))); testMat4WithAndWithoutDest((newDst) => { return mat4.rotateY(m, angle, newDst); }, expected);