public void SpawnAtMe_Position() { SceneGraph graph = BuildSceneGraph(); Vector2 objPosition = new Vector2(32, 64); GameObjectCounter obj = new GameObjectCounter(); obj.Position = objPosition; GameObject childObj = new GameObject(); childObj.Position = new Vector2(16, 16); childObj.SceneGraph = graph; obj.AddChild(childObj); graph.Add(obj); graph.Update(); GameObjectCounter spawn = new GameObjectCounter(); childObj.SpawnAtMe(spawn); graph.Update(); Assert.That(spawn.Position, Is.EqualTo(childObj.AbsolutePosition)); Assert.That(spawn.Position, Is.EqualTo(new Vector2(48f, 80f))); }