minesweeper board: add test
minesweeper board: add test: a task in smol-software-harbor (Harbor dataset). tests/test mines.py never checks boards with several adjacent mines or a single row. Add tests for: a cell surrounded by 8 mines shows 8 ; a one-row board " . " gives " 2 " ; and a board without mines stays all dots. Do…
The task
`tests/test_mines.py` never checks boards with several adjacent mines or a single row. Add tests for: a cell surrounded by 8 mines shows `8`; a one-row board `"*.*"` gives `"*2*"`; and a board without mines stays all dots. Do not change `mines.py`; keep the existing tests. Run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.