Exemplo n.º 1
0
 public void TestThatEffectHasTurnDuration()
 {
     var target = new Effect("blah", 1, 0.0, true, null);
     Assert.AreEqual(target.GetDuration(), 1);
 }
Exemplo n.º 2
0
 public void TestThatEffectApplyEffectDoesNotDecreaseDurationAfterItIsZero()
 {
     var target = new Effect("blah", 0, 0.0, true, new Character("Bob", null, 10, 10, 10, new Item(), "Warrior"));
     target.ApplyEffect();
     Assert.AreEqual(target.GetDuration(), 0);
 }