maikeldaloo/Resizer — pull request #15 by fredda (2012-12-30 17:41:49+00:00)
Title: add unit tests

Hi,

while integrating the Resizer bundle into my app, I also wrote some tests.

Maybe you guys find it useful to have some tests for the bundle and have ideas to better test its functionality. (I only needed to crop images, so i only wrote tests for option `crop` yet.)

In my commit i also added namespace, the ResizerException and width/height getters to the Resizer class, but this PR mainly focusses on the tests.

regards,
Michael

![Screen Shot 2012-12-30 at 18 34 53](https://f.cloud.github.com/assets/999748/35968/4efcf658-52a7-11e2-9277-540d31ab0a7e.png)