Exemplo n.º 1
0
        public void SubmitOutput()
        {
            var r = new Submit()
            {
                SubmitCommand = new Command {
                    CommandLine = "ls"
                }
            };

            Assert.AreEqual("submit(ls)", r.Print());
            var rp = JobParser.ParseSubmit.Parse(r.Print());

            Assert.AreEqual(r.SubmitCommand.CommandLine, rp.SubmitCommand.CommandLine);
        }