public void WithEmptySets_ShouldBeEqual() { var winCombination = new WinCombination(1, new HashSet <int> { }); var sameWinCombination = new WinCombination(1, new HashSet <int> { }); ObjectAssert.AreEqual(winCombination, sameWinCombination); }
public void WithSameValuesInCollections_ShouldBeEqual() { var winCombination = new WinCombination(1, new HashSet <int> { 1, 2, 3 }); var shuffledWinCombination = new WinCombination(1, new HashSet <int> { 3, 2, 1 }); ObjectAssert.AreEqual(winCombination, shuffledWinCombination); }