public void PacmanAfterMovedIsEmpty() { var grid = new Grid(3, 3); grid.PlacePacmanAt(0, 0); grid.MovePacmanTo(1, 0); Assert.Equal(' ', grid.At(0, 0)); }
public void PacmanIsOnDefinedPositionAndGridIsStillFilledByDots() { var grid = new Grid(3, 3); grid.PlacePacmanAt(0, 0); Assert.Equal('.', grid.At(1, 1)); }
public void PacmanIsOnDefinedPosition() { var grid = new Grid(3, 3); grid.PlacePacmanAt(0, 0); Assert.Equal(PacmanDirectionNone, grid.At(0, 0)); }