Example #1
0
        public void TestEmptyConstructor()
        {
            var s = new QCommandLineOption("verbose", "Verbose mode. Prints out more information.", "valName", "-option1");

            Assert.AreEqual("verbose", s.Names.Join(""));
            Assert.AreEqual("Verbose mode. Prints out more information.", s.Description);
            Assert.AreEqual("valName", s.ValueName);
            Assert.AreEqual("-option1", s.DefaultValues.Join(""));
        }
Example #2
0
        public void TestEmptyConstructor()
        {
            var s = new QCommandLineOption("verbose", "Verbose mode. Prints out more information.", "valName", "-option1");

            // TODO
            //Assert.AreEqual("verbose", s.Names.Join(""));
            Assert.AreEqual("Verbose mode. Prints out more information.", s.Description);
            Assert.AreEqual("valName", s.ValueName);
            // TODO
            //Assert.AreEqual("-option1", s.DefaultValues.Join(""));
        }