public void TestOnFire() { OnFire effect = new OnFire(); Dictionary <string, Effect> effects = new Dictionary <string, Effect>(); effects.Add("OnFire", effect); me = new MonsterCard("TestCard", new ElementType("fire", "grass", "water"), 20, effects, new Human()); effect.DoAfterEffect(ref opposingCard, 0, ref me, 0, out int dm); Assert.AreEqual(35, me.damage); me = new MonsterCard("TestCard", new ElementType("normal", "-", "-"), 20, effects, new Human()); effect.DoAfterEffect(ref opposingCard, 0, ref me, 0, out dm); Assert.AreEqual(5, me.damage); }