Exemple #1
0
        public void Constructor_Initialize_Properties2()
        {
            var name = @"A";
            var o1 = new TestBaseOption(name, true);

            Assert.AreEqual(name, o1.Name);
            Assert.AreEqual(true, o1.IsDefault);
        }
Exemple #2
0
        public void Constructor_Initialize_Properties()
        {
            var name = @"A";
            var o = new TestBaseOption(name);

            Assert.AreEqual(name, o.Name);
            Assert.AreEqual(false, o.IsDefault);
        }