Exemplo n.º 1
0
        public void MakeAddACommandToTheScriptTest()
        {
            PerCLScript script = new PerCLScript();

            int len = script.size();

            TestCommand command = new TestCommand(String.Format("COMMAND::{0}::COMMAND", getUnixTime().ToString()));

            script.Add(command);

            Assert.AreEqual(script.size(), (len + 1));
            Assert.AreEqual(script.get(len), command);
        }