Пример #1
0
        public void IsEmpty_True()
        {
            Dictionary <string, string> syntax = new Dictionary <string, string>();
            IName n = new CompoundName(string.Empty, syntax);

            Assert.IsTrue(n.IsEmpty());
        }
Пример #2
0
        public void IsEmpty_False()
        {
            Dictionary <string, string> syntax = new Dictionary <string, string>();
            IName n = new CompoundName(string.Empty, syntax);

            n.Add("item1");
            Assert.IsFalse(n.IsEmpty());
        }