Пример #1
0
 //Initialize object/s before each test is run. It will be called for each test.
 public void Initialize()
 {
     _testTilesWorld = new TilesWorld(_testMSystem);
     // Leaving only tile q1 in the TilesWorld
     _testTilesWorld.Remove(_testTilesWorld.ToArray()[1]);
     _testTilesWorld.Remove(_testTilesWorld.ToArray()[1]);
     _testFltObjectsWorld            = new FloatingObjectsWorld(_testMSystem, _testTilesWorld);
     _testTilesWorld.FltObjectsWorld = _testFltObjectsWorld;
 }
Пример #2
0
 public void TestRemoveNullObject()
 {
     m_tilesWorld.Remove(null);
 }