Esempio n. 1
0
        public void Can_dequeue()
        {
            // Arrange
            Shelter shelter = new Shelter();

            shelter.QueueAnimal(new Node(Animal.Dog));

            // Act
            shelter.DequeueOne(new Node(Animal.Dog));

            // Assert
            Assert.Equal(0, shelter.Dogs.count);
        }