.Mat3.makeRotate(m1, Math.PI / 7, 0, 0, 1);
    assertElementsRoughlyEqual(m0, m1, goog.vec.EPSILON);
  }

  function testRotate() {
    var m0 = goog.vec.Mat3.createIdentity();
    goog.vec.Mat3.rotate(m0, Math.PI / 2, 0, 0, 1);
    assertElementsRoughlyEqual(
        [0, 1, 0, -1, 0, 0, 0, 0, 1],
        m0, goog.vec.EPSILON);

    goog.vec.Mat3.rotate(m0, -Math.PI / 4, 0, 0, 1);
    assertElementsRoughlyEqual(
        [0.7071068, 0.7071068, 0,
         -0.7071068, 0.7071068, 0,
         0, 0, 1],
       