="application/javascript">

Tests.startUnit = function () {
  var canvas = document.getElementById('gl');
  var gl = wrapGLContext(getGLContext(canvas));
  return [gl];
}

Tests.testBindBufferARRAY_BUFFER = function(gl) {
  var b = gl.createBuffer();
  assert(gl.NO_ERROR == checkError(gl, "genBuffers"));
  gl.bindBuffer(gl.ARRAY_BUFFER, b);
  assert(gl.NO_ERROR == checkError(gl, "bindBuffer"));
  gl.bindBuffer(gl.ARRAY_BUFFER, null);
  assert(gl.NO_ERROR == checkError(gl, "bindBuffer 0"));
  gl.deleteBuffer