Browse Source

More tests

v1.x
Tj Holowaychuk 14 years ago
parent
commit
7e17bfb8c1
  1. 5
      test/canvas.test.js

5
test/canvas.test.js

@ -313,6 +313,11 @@ module.exports = {
assert.equal(2, imageData.width);
assert.equal(6, imageData.height);
assert.equal(2 * 6 * 4, imageData.data.length);
assert.equal(0, imageData.data[0]);
assert.equal(0, imageData.data[1]);
assert.equal(0, imageData.data[2]);
assert.equal(0, imageData.data[3]);
},
'test Context2d#createImageData(ImageData)': function(assert){

Loading…
Cancel
Save