vec.Matrix4.create();
    goog.vec.Matrix4.setDiagonalValues(m0, 1, 2, 3, 4);
    assertElementsEquals(
        [1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 3, 0, 0, 0, 0, 4], m0);

    goog.vec.Matrix4.setDiagonal(m0, [4, 5, 6, 7]);
    assertElementsEquals(
        [4, 0, 0, 0, 0, 5, 0, 0, 0, 0, 6, 0, 0, 0, 0, 7], m0);
  }

  function testSetGetColumn() {
    var m0 = goog.vec.Matrix4.create();
    goog.vec.Matrix4.setColumn(m0, 0, [1, 2, 3, 4]);
    goog.vec.Matrix4.setColumn(m0, 1, [5, 6, 7, 8]);
    goog.vec.Matrix4