Ejemplo n.º 1
0
        public void CmdList_TrueWithMultipleArgs()
        {
            CmdList _list = new CmdList();

            string[] args   = { "string1", "string2" };
            var      result = _list.Validate(args);

            Assert.True(result, "List should return true with multiple arguments");
        }
Ejemplo n.º 2
0
        public void CmdList_TrueWithNoArgs()
        {
            CmdList _list = new CmdList();

            string[] args   = {};
            var      result = _list.Validate(args);

            Assert.True(result, "List should return true with no arguments");
        }