Пример #1
0
        public void UpdatePosTest1()
        {
            ActionHandler target = new ActionHandler();
            Sprite name = new Sprite();
            name.SpriteID = 15;

            name.updatePos(new Vector2(100, 299));

            target.UpdatePos(name);
            Assert.IsTrue(name.pos == target.getPos(name.SpriteID));
        }
Пример #2
0
 public void IgnoreObjectTest()
 {
     ActionHandler target = new ActionHandler(); // TODO: Initialize to an appropriate value
     Sprite name = new Sprite(); // TODO: Initialize to an appropriate value
     target.IgnoreObject(name);
 }