Ejemplo n.º 1
0
        public void Given_Int_Max_Number_At_Third_Position_Return_Max(int num1, int num2, int num3)
        {
            MaxNumberCheck MaxInt   = new MaxNumberCheck();
            int            result   = MaxInt.MaximumIntegerNumber(num1, num2, num3);
            int            expected = num3;

            Assert.AreEqual(expected, result);
        }
        public void FindingMaxNumberAtPosition1()
        {
            int maxNumber = MaxNumberCheck.MaximumIntegerNumber(30, 20, 10);

            Assert.AreEqual(30, maxNumber);
        }