Exemple #1
0
        public void AliveDummyCantGiveXp()
        {
            Dummy dummy = new Dummy(10, 10);

            Assert.That(() => dummy.GiveExperience(), Throws.InvalidOperationException);
        }
Exemple #2
0
 public void AliveDummyCannotGiveXp()
 {
     dummy.GiveExperience();
 }
Exemple #3
0
        public void DeadDummyCanGiveXp()
        {
            Dummy dummy = new Dummy(0, 10);

            Assert.That(dummy.GiveExperience(), Is.EqualTo(10));
        }
Exemple #4
0
        public void DeadDummyCanGiveXP()
        {
            Dummy deadDummy = new Dummy(0, 10);

            deadDummy.GiveExperience();
        }