Submit - Extent Class fixes and Unit Test

Mar 12, 2012 at 9:05 AM

Extent Class Unit Test: http://pastebin.com/WR243zL4

Modified Extent Class to Pass some test: http://pastebin.com/130bXvfV

 

2 of the Tests failed:

  • TestSetHeightNegative
  • TestSetWidthNegative
Developer
Mar 12, 2012 at 7:41 PM

I've used your suggestions, expect I've removed the contract statements as there is no need to duplicate the argument check. Very nice work!