Ejemplo n.º 1
0
        public void WithEmptySets_ShouldBeEqual()
        {
            var winCombination     = new WinCombination(1, new HashSet <int> {
            });
            var sameWinCombination = new WinCombination(1, new HashSet <int> {
            });

            ObjectAssert.AreEqual(winCombination, sameWinCombination);
        }
Ejemplo n.º 2
0
        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);
        }