public bool MemberValsFitDomain(CellGroup ip) { HashSet <int> memSet = new HashSet <int>(ip.GetGroupFills()); HashSet <int> sudoHash = new HashSet <int>(SudokuPuzzle.sudokuDomain); return(memSet.SetEquals(sudoHash)); }
public bool IsGroupWeightCorrect(CellGroup ip) { return(ip.GetGroupFills().Sum() == 45); }