Example #1
0
        public void ComparePlayersWithSameRole()
        {
            var playerOne = new MedicPlayer();
            var playerTwo = new MedicPlayer();

            Assert.AreEqual <bool>(true, playerOne.Equals(playerTwo));
        }
Example #2
0
        public void ComparePlayersWithdDifferentRole()
        {
            var loc       = new Location("TESTLOC", DiseaseColour.Black);
            var playerOne = new MedicPlayer();
            var playerTwo = new GeneralistPlayer();

            Assert.AreEqual <bool>(false, playerOne.Equals(playerTwo));
        }