using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_24.Tests
{
    [TestClass]
    public class ProgramTests
    {
        [TestMethod]
        public void MainTest()
        {
            const string expected =
@"Wprowadź promień koła: <<3
>>Powierzchnia koła wynosi: 28.27";

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