Exemple #1
0
        public void ExampleToString()
        {
            var          example      = new ExampleBlock(@"blah");
            const string kExpectedOut = @"BEGIN EX
blah
END EX";

            Assert.AreEqual(example.ToString(), kExpectedOut);
        }
Exemple #2
0
        public void ExampleModifiedTextToString()
        {
            var example = new ExampleBlock(@"blah");

            example.Text = @"blah2";
            const string kExpectedOut = @"BEGIN EX
blah2
END EX";

            Assert.AreEqual(example.ToString(), kExpectedOut);
        }