Example #1
0
        public void XSpanToString()
        {
            var span = new XSpan("Hello", "World");

            var tostring = span.ToString();

            Assert.Equal("Hello World", tostring);
        }
Example #2
0
        public void XSpanPlainToString()
        {
            var toString = new XSpan("Test", new XBold("bold")).ToPlainString();

            Assert.Equal("Test bold", toString);
        }
Example #3
0
        public void XSpanToString()
        {
            var span = new XSpan("Hello", "World");

            var tostring = span.ToString();

            Assert.Equal("Hello World", tostring);
        }
Example #4
0
        public void XSpanPlainToString()
        {
            var toString = new XSpan("Test", new XBold("bold")).ToPlainString();

            Assert.Equal("Test bold", toString);
        }