Tadaboody / Minesweeper

A simple android app written in Kotlin to play minesweeper
10 stars 4 forks source link

Test game logic #1

Open Tadaboody opened 6 years ago

Tadaboody commented 6 years ago

Try testing using a pre-set board,asserting every path results in correct states

Tadaboody commented 6 years ago

Almost done - only methods that are untested are https://github.com/Tadaboody/Minesweeper/blob/6f12241c129f70883f51ca88cbc7405e40cc4ed8/app/src/main/java/com/keren/tomer/minesweeper/Game.kt#L155 https://github.com/Tadaboody/Minesweeper/blob/6f12241c129f70883f51ca88cbc7405e40cc4ed8/app/src/main/java/com/keren/tomer/minesweeper/Game.kt#L143 and https://github.com/Tadaboody/Minesweeper/blob/6f12241c129f70883f51ca88cbc7405e40cc4ed8/app/src/main/java/com/keren/tomer/minesweeper/Game.kt#L149