Пример #1
0
        public void LoadSignalsFromXmlTest()
        {
            InMemoryMOEDatabase db = new InMemoryMOEDatabase();

            XmlToListImporter.LoadSignals("signals.Xml", db);

            Assert.IsTrue(db.Signals.Count > 1000);
        }
Пример #2
0
        public void ApproachesAreAssignedTosignalsTest()
        {
            InMemoryMOEDatabase db = new InMemoryMOEDatabase();

            XmlToListImporter.LoadSignals("signals.Xml", db);

            XmlToListImporter.LoadApproaches("approachesfor7185.Xml", db);

            foreach (var app in db.Approaches)
            {
                Assert.IsNotNull(app.Signal);
            }
        }