AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter02.Tests/Listing02.14.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_14.Tests
{
    [TestClass]
    public class TriangleTests
    {
        [TestMethod]
        public void Main_WriteTriangle()
        {
            const string expected = @"begin
                   /\
                  /  \
                 /    \
                /      \
               /________\
end";

            IntelliTect.TestTools.Console.ConsoleAssert.Expect(
                expected, Triangle.Main);
        }
    }
}