Exemple #1
0
        public void Add_player()
        {
            Square square = new Square(position: 0, category: Category.Pop);

            square.Add(A_PLAYER);

            Assert.IsTrue(square.Players.Contains(A_PLAYER));
        }
Exemple #2
0
        public void Remove_player()
        {
            Square square = new Square(position: 0, category: Category.Pop);

            square.Add(A_PLAYER);
            square.Remove(A_PLAYER);

            Assert.IsFalse(square.Players.Contains(A_PLAYER));
        }