1 Canvas - A QUnit Addon For Testing Canvas Rendering
2 ================================
4 This addon for QUnit adds a pixelEqual method that allows you to assert
5 individual pixel values in a given canvas.
9 pixelEqual(canvas, x, y, r, g, b, a, message)
13 * canvas: Reference to a canvas element
14 * x, y: Coordinates of the pixel to test
15 * r, g, b, a: The color and opacity value of the pixel that you except
16 * message: Optional message, same as for other assertions