Exemple #1
0
        public void max_5_7_6_1()
        {
            max target = new max();        // TODO: Initialize to an appropriate value

            object[] args = new string[4]; // TODO: Initialize to an appropriate value

            args[0] = "5";
            args[1] = "7";
            args[2] = "6";
            args[3] = "1";


            object expected = "7"; // TODO: Initialize to an appropriate value
            object actual   = target.run(args);

            actual = target.run(args);
            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
        public void max_1_2_3()
        {
            max target = new max();        // TODO: Initialize to an appropriate value

            object[] args = new string[3]; // TODO: Initialize to an appropriate value

            args[0] = "1";
            args[1] = "2";
            args[2] = "3";


            object expected = "3"; // TODO: Initialize to an appropriate value
            object actual   = target.run(args);

            Assert.AreEqual(expected, actual);
        }