Testing Notes from week of April 1-8

 

Of the 7 total assertions within the test suite, there were 5 correct runs and 2 failed runs. The failed runs dealt with the x-coordinate of a GridNode object for Pacman and Ghost actors. I'm looking into why this occurred and will update the test suite when the problem is fixed. Tests implemented were:

testPacman_inital() -- tests PacmanActor initialization
*testPacman_node() -- tests that PacmanActor is able to change positions
testPacman_death() -- test that PacmanActor dies according to GridNode
*testGhost_node() -- tests that GhostActor can change positions
*testRestart() -- tests that game is restarted properly in terms of PacmanActor

* -- slight adjustments may need to be made