public void TestSystemUpdate() { world = CreateWorld(); SystemU u = new SystemU(); world.AddSystem(u); world.UpdateAll(1); Assert.AreEqual(true, u.IsUpdated, "Expect U to be updated."); }
public void TestSystemExcludedUpdate() { world = CreateWorld(); SystemU u = new SystemU(); world.AddSystem(u); world.UpdateAll(1, typeof(SystemU)); Assert.AreEqual(false, u.IsUpdated, "Expect U to be excluded, and thus not updated."); }