def test_cell_group_is_valid_partially_empty_valid(alphabet10): cells = [Cell(0, y, alphabet10) for y in xrange(10)] group = CellGroup(set(cells)) cells[0].set_symbol('0') cells[1].set_symbol('1') assert group.is_valid()
def test_cell_group_is_valid_empty_cells(alphabet10): cells = [Cell(0, y, alphabet10) for y in xrange(10)] group = CellGroup(set(cells)) assert group.is_valid()