 = goog.vec.Mat3.createFloat32();
    for (var r = 0; r < 3; r++) {
      for (var c = 0; c < 3; c++) {
        var value = c * 3 + r + 1;
        goog.vec.Mat3.setElement(m0, r, c, value);
        assertEquals(value, goog.vec.Mat3.getElement(m0, r, c));
      }
    }
    assertElementsEquals([1, 2, 3, 4, 5, 6, 7, 8, 9], m0);
  }

  function testAddMat() {
    var m0 = goog.vec.Mat3.createFloat32FromValues(1, 2, 3, 4, 5, 6, 7, 8, 9);
    var m1 = goog.vec.Mat3.createFloat32FromValues(3, 4, 5, 6, 7, 8, 9, 1,