示例#1
0
        public void HeShouldBeAbleToGetGold()
        {
            // Arrange
            goldCellOne.PirateComing(pirate);

            // Act
            goldCellOne.GiveGoldToPirate(pirate);

            // Assert
            pirate.IsWithGold().ShouldBeTrue();
        }
示例#2
0
        public void HeShouldLostGold()
        {
            // Arrange
            pirate.SetWithGold();

            // Act
            deathCell.PirateComing(pirate);

            // Assert
            pirate.IsWithGold().ShouldBeFalse();
        }