Exemplo n.º 1
0
        public void ExA5_Case3()
        {
            TestHelper help = new TestHelper();

            help.SetupConsole(new string[] { "3.232" });
            ExA5.Main(null);
            help.AssertOutputContains("3.23");
        }
Exemplo n.º 2
0
        public void ExA5_Case4()
        {
            TestHelper help = new TestHelper();

            help.SetupConsole(new string[] { "4.555" });
            ExA5.Main(null);
            help.AssertOutputContains("4.56");
        }
Exemplo n.º 3
0
        public void ExA5_Case1()
        {
            TestHelper help = new TestHelper();

            help.SetupConsole(new string[] { "100.1" });
            ExA5.Main(null);
            help.AssertOutputContains("100.10");
        }