Progress: Tests Added

Today I added in some tests for functions required in the evaluation function. As the new field needs to be calculated, 2 new functions were required that calculated the new field: insertFallenPiece for putting the piece in and removeLines for cleaning up that field by removing lines made.

InsertFallenPiece tests were completed but removeLines only got 1 test put in that doesn’t fully cover the class. I need to test the 0-line case and multiple line case.

More to come tomorrow.

This entry was posted on Friday, March 28th, 2008 at 10:06 pm and is filed under Honours Project Progress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply