nmaguirre / minesweeper

A Simple MineSweeper Project
6 stars 4 forks source link

MinesweeperGameState.open bug #161

Open letcharren opened 8 years ago

letcharren commented 8 years ago

create a test for MinesweeperGameState.open that demostrate that open functionality is incorrect.

letcharren commented 8 years ago

related issues #42 and #115

letcharren commented 8 years ago

Solved in 71a6a44 . in this test the cell (0,0) has a mine, then the cell (1,0) is open and verify that the cell (1,1) is not open to.

juanpabloRV commented 8 years ago

In open method of MinesweeperGameState class... what happen if gameEnded==true???

ezensich commented 8 years ago

Bug corrections if the game ended. Resolved in https://github.com/nmaguirre/minesweeper/commit/76bd8d9ca72cfeabab945d434ea19a411b977448