Example #1
0
        public void RestoreLimitWorks()
        {
            //Given
            BattleStats bs = new BattleStats();

            bs.UseMagic(20);
            bs.Restore(30);

            //When
            int expected = 20;
            int actual   = bs.Magic;

            //Then
            Assert.True(expected == actual);
        }