x);
  c.lineTo(100-x,x);
  c.lineTo(100-x,100-x);
  c.lineTo(x,100-x);
  c.closePath();
  c.fill();}
async function test() {
  const canvas = document.querySelector('canvas');
  const div = document.querySelector('div');
  function onDropCallBack(event) {
    addImage(event);
    const img = document.querySelector('img');
    assert_equals(img.src, canvas.toDataURL('image/png'));
    return true;
  }

  dragDropTest(canvas, div, onDropCallBack, 'Dragging the canvas to the bottom div should turn it green');
