Esempio n. 1
0
        public void ModifyCoreStatisticTest()
        {
            ICoreStatistic dexterity    = coreStatisticFactory.GenerateCoreStatistic <Dexterity>(8);
            ICoreStatistic newDexterity = dexterity.ModifyCoreStatistic(2);

            newDexterity.GetModifier().Should().Be(0, "because the modifiec stat was increased by 2");
        }
Esempio n. 2
0
        public void GenerateCoreStatisticTest()
        {
            ICoreStatistic strengeth = coreStatisticFactory.GenerateCoreStatistic <Strength>(8);

            strengeth.GetModifier().Should().Be(-1, "because this is a base value");
        }