Example #1
0
 public void Initialize()
 {
     mSystemObjects               = new DeserializedObjects(mSystemDescription, _path);
     m_testMSystem                = new MSystem(mSystemObjects);
     m_tilesWorld                 = new TilesWorld(m_testMSystem);
     m_floatingObjWorld           = new FloatingObjectsWorld(m_testMSystem, m_tilesWorld);
     m_tilesWorld.FltObjectsWorld = m_floatingObjWorld;
 }
Example #2
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;
 }
Example #3
0
 /// <summary>
 /// No functionality.
 /// </summary>
 /// <param name="floatingObjectWorld">Floating object in simulation world.</param>
 public void CalculateFloatingObectsStats(FloatingObjectsWorld floatingObjectWorld)
 {
 }