public void UpdateEffectorsTestVerNo() { //Arrange MockEffector effector = new MockEffector(); Effector[] effectors = { effector }; EffectorMgr effectorMgr = new EffectorMgr(effectors, 2); //Act effectorMgr.UpdateEffectors(effector, effector, effector); //Assert Assert.AreEqual(3, effectorMgr.VerNo); }
public void UpdateEffectorsTestEffectors() { //Arrange MockEffector effector = new MockEffector(); Effector[] effectors = { effector }; EffectorMgr effectorMgr = new EffectorMgr(effectors); //Act effectorMgr.UpdateEffectors(effector, effector, effector); effectorMgr.RunEffectors(target); //Assert Assert.AreEqual(3, runNo); }
public void UpdateEffectors(params Effector[] effectors) { effectorMgr.UpdateEffectors(effectors); }