Пример #1
0
 public void TestDoubleAdditionKeyComponents()
 {
     BaseSystem system = new EmptySystem();
     system.AddKeyComponent<ComponentA>();
     system.AddKeyComponent<ComponentA>();
     Assert.AreEqual(1, system.KeyComponents.Count);
 }
Пример #2
0
 public void TestEmptyKeyComponents()
 {
     BaseSystem system = new EmptySystem();
     Assert.AreEqual(0, system.KeyComponents.Count);
 }