public void RunEffectorsTest() { //Arrange MockEffector effector = new MockEffector(); Effector[] effectors = { effector, effector, effector }; EffectorMgr effectorMgr = new EffectorMgr(effectors); //Act effectorMgr.RunEffectors(target); //Assert Assert.AreEqual(3, runNo); }
public void SynchronizeWithTestTrue() { //Arrange MockEffector effector = new MockEffector(); Effector[] srcEffectors = { effector, effector, effector }; EffectorMgr srcMgr = new EffectorMgr(srcEffectors); EffectorMgr tarMgr = new EffectorMgr(); //Act tarMgr.SynchronizeWith(srcMgr); tarMgr.RunEffectors(target); //Assert Assert.AreEqual(3, runNo); }
public void RunEffectors(MonoBehaviour target) { effectorMgr.RunEffectors(target); }