コード例 #1
0
        public void ShouldReturnHitPointsFromHitDie()
        {
            //arrange
            ICharacterClass fighter           = new Fighter();
            IHitPoints      expectedHitPoints = new HitPoints(10);

            //act
            IHitPoints actualHitPoints = fighter.BaseHitPoints();

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