Пример #1
0
        public void Empty()
        {
            var empty = new ExtensionSubtag();

            Assert.IsTrue(empty.IsEmpty);
            Assert.AreEqual("", empty.ToString());
            Assert.That(empty.ToArray(), Is.Empty);
        }
Пример #2
0
        public void ToString(string[] subtags, string expected)
        {
            var ext = new ExtensionSubtag('a', subtags);

            Assert.AreEqual(expected, ext.ToString());
        }