  assertElementsEquals(
        [180, 200, 220, 240, 404, 456, 508, 560,
         628, 712, 796, 880, 852, 968, 1084, 1200], m1);
  }

  function testTranspose() {
    var m0 = goog.vec.Matrix4.createFromValues(
        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16);
    var m1 = goog.vec.Matrix4.create();
    goog.vec.Matrix4.transpose(m0, m1);
    assertElementsEquals(
        [1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15, 4, 8, 12, 16], m1);

    goog.vec.Matrix4.transpose(m1, m1);
    assertElementsE