CH9 / E49|Drawing a Line|Wed, 21 Nov ’12
Find the Path
To test our drawing code, we need a way to check which lines have been drawn. We use the Chrome debugger to dig into the DOM elements created by Raphaël, our drawing library, and figure out how to make assertions about our drawing code on everything except IE 8.