示例#1
0
        public void WellFormatedLinkCommandNameWhitespaces()
        {
            string         s   = PWGraphCLI.GenerateLinkCommand("node 1", "node 2");
            PWGraphCommand cmd = PWGraphCLI.Parse(s);

            Assert.That(cmd.type == PWGraphCommandType.Link);
            Assert.That(cmd.fromNodeName == "node 1");
            Assert.That(cmd.toNodeName == "node 2");
        }