public void TrackLayoutSerializerConstructorTest()
        {
            string fileName = "TestXML"; // TODO: Initialize to an appropriate value
            TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor(fileName);

            Assert.AreEqual(fileName, target.m_fileName);
        }
 public void CreateTrackLayoutFileRedLineTest()
 {
     TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor("TestXMl.xml"); // TODO: Initialize to an appropriate value
     target.CreateTrackLayoutFileRedLine();
     Assert.IsNotNull(target.m_blockList);
     Assert.IsTrue(target.BlockList.Count > 0);
     Assert.IsNotNull(target.m_switchList);
 }
        public void CreateTrackLayoutFileRedLineTest()
        {
            TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor("TestXMl.xml"); // TODO: Initialize to an appropriate value

            target.CreateTrackLayoutFileRedLine();
            Assert.IsNotNull(target.m_blockList);
            Assert.IsTrue(target.BlockList.Count > 0);
            Assert.IsNotNull(target.m_switchList);
        }
 public void BlockListTest()
 {
     TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor("Test.xml"); // TODO: Initialize to an appropriate value
     TrackLayoutSerializer_Accessor target2 = new TrackLayoutSerializer_Accessor("Test.xml"); // TODO: Initialize to an appropriate value
     target2.CreateTrackLayoutFileRedLine();
     List<TrackBlock> expected = target2.m_blockList;
     List<TrackBlock> actual;
     target.BlockList = expected;
     actual = target2.BlockList;
     Assert.AreEqual(expected, actual);
 }
        public void BlockListTest()
        {
            TrackLayoutSerializer_Accessor target  = new TrackLayoutSerializer_Accessor("Test.xml"); // TODO: Initialize to an appropriate value
            TrackLayoutSerializer_Accessor target2 = new TrackLayoutSerializer_Accessor("Test.xml"); // TODO: Initialize to an appropriate value

            target2.CreateTrackLayoutFileRedLine();
            List <TrackBlock> expected = target2.m_blockList;
            List <TrackBlock> actual;

            target.BlockList = expected;
            actual           = target2.BlockList;
            Assert.AreEqual(expected, actual);
        }
 public void TrackLayoutSerializerConstructorTest1()
 {
     TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor();
     Assert.IsNotNull(target);
 }
 public void TrackLayoutSerializerConstructorTest()
 {
     string fileName = "TestXML"; // TODO: Initialize to an appropriate value
     TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor(fileName);
     Assert.AreEqual(fileName, target.m_fileName);
 }
        public void TrackLayoutSerializerConstructorTest1()
        {
            TrackLayoutSerializer_Accessor target = new TrackLayoutSerializer_Accessor();

            Assert.IsNotNull(target);
        }