public void ShouldReadNodes()
        {
            const string nodesInputFile = @"Resources//nodesInput.nod.xml";

            var rdr = new InputNetworkReader();
            var nodes = rdr.GetNodes(nodesInputFile);

            Assert.AreEqual("1/1", nodes.node.Last().id);
            //..reszsta
        }
Esempio n. 2
0
 private NodesXMLModel GetNodes()
 {
     const string nodesInputFile = @"Resources//nodesInput.nod.xml";
     var rdr = new InputNetworkReader();
     return rdr.GetNodes(nodesInputFile);
 }