Ejemplo n.º 1
0
        public void ShouldAdd()
        {
            //arrange
            IHitPoints hitPoints1      = new HitPoints(4);
            IHitPoints hitPoints       = new HitPoints(8);
            IHitPoints totalScore      = new HitPoints(12);
            IHitPoints actualHitPoints = hitPoints1.Add(hitPoints);

            //assert
            totalScore.Should().Be(actualHitPoints);
        }