Contribution Request - Shape Class Unit Test

Mar 9, 2012 at 9:50 AM

This is more of a unit test than a patch.  But I did modify the Shape Class to pass some test.  Just some minor change.

Unit Test Code: http://pastebin.com/Gann4Vhx

Project: DotSpatial.Data.Tests

May require a third party library though: Moq which can be downloaded at http://moq.googlecode.com/files/Moq.4.0.10827.Final.zip (using the 4.0 version)

I'm using Moq for Mocking and creating fake objects.

 

Code Modifications of the Shape Class: http://pastebin.com/Uv6ax8k6 , this is just to pass some of the test.

 

Screencast when running the unit test: http://www.screencast.com/t/sgdyIngn

Developer
Mar 9, 2012 at 8:48 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.