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.

Leave a Reply

Your email address will not be published. Required fields are marked *