ElementsRoughlyEqual(m0, m1, goog.vec.EPSILON);
  }

  function testLookAt() {
    var viewMatrix = goog.vec.Matrix4.create();
    goog.vec.Matrix4.lookAt(
      viewMatrix, [0, 0, 0], [1, 0, 0], [0, 1, 0]);
    assertElementsRoughlyEqual(
      [0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1], viewMatrix,
      goog.vec.EPSILON);
  }

  function testToLookAt() {
    // This test does not use the default precision goog.vec.EPSILON due to
    // precision issues in some browsers leading to flaky tests.
    