예제 #1
0
    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);
    }
예제 #2
0
    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);
    }
예제 #3
0
 public void UpdateEffectors(params Effector[] effectors)
 {
     effectorMgr.UpdateEffectors(effectors);
 }