Esempio n. 1
0
        private EdgesXMLModel GetEdges()
        {
            const string nodesInputFile = @"Resources//edgesInput.edg.xml";

            var rdr = new InputNetworkReader();
            return rdr.GetEdges(nodesInputFile);
        }
        public void ShouldReadEdges()
        {
            const string nodesInputFile = @"Resources//edgesInput.edg.xml";

            var rdr = new InputNetworkReader();
            var edges = rdr.GetEdges(nodesInputFile);

            Assert.AreEqual("1/1to1/0", edges.edge.Last().id);
            //..reszsta
        }