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)); }
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); }