Exemplo n.º 1
0
        public void ResolveEntity_NoMultipleCalls()
        {
            var tc = new TagChange(new TagChangeData(GameTag.HEALTH, 5, false, null, null));

            tc.ResolveEntityId(1);
            tc.ResolveEntityId(2);
            Assert.AreEqual(1, tc.EntityId);
        }
Exemplo n.º 2
0
        public void ResolveEntity()
        {
            var tc = new TagChange(new TagChangeData(GameTag.HEALTH, 5, false, null, null));

            Assert.IsNull(tc.EntityId);
            tc.ResolveEntityId(1);
            Assert.AreEqual(1, tc.EntityId);
        }