og.vec.Matrix4.setZero(m0);
    assertElementsEquals(
        [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], m0);
  }

  function testSetIdentity() {
    var m0 = goog.vec.Matrix4.create();
    goog.vec.Matrix4.setIdentity(m0);
    assertElementsEquals(
        [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], m0);
  }

  function testSetGetElement() {
    var m0 = goog.vec.Matrix4.create();
    for (var r = 0; r < 4; r++) {
      for (var c = 0; c < 4; c++) {
        var value = c * 4 + r + 1;
        g