,
         0.33333333, -0.33333333, -1.2, -1,
         0, 0, -0.22, 0], m0, goog.vec.EPSILON);
  }

  function testMakePerspective() {
    var m0 = goog.vec.Matrix4.create();
    goog.vec.Matrix4.makePerspective(m0, 90 * Math.PI / 180, 2, 0.1, 1.1);
    assertElementsRoughlyEqual(
        [0.5, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1.2, -1, 0, 0, -0.22, 0],
        m0, goog.vec.EPSILON);
  }

  function testMakeOrtho() {
    var m0 = goog.vec.Matrix4.create();
    goog.vec.Matrix4.makeOrtho(m0, -1, 2, -2, 1, 0.1, 1.1