def test_cell_set_symbol_illegal2(alphabet): cell = Cell(0, 0, alphabet) with pytest.raises(SymbolNotPossible): cell.set_symbol('a')
def test_cell_set_symbol_legal_at_first_time(alphabet): cell = Cell(0, 0, alphabet) cell.set_symbol('1') with pytest.raises(SymbolNotPossible): cell.set_symbol('2')