Exemple #1
0
        public void Given_Float_Max_Number_At_Third_Position_Return_Max(float num1, float num2, float num3)
        {
            MaxNumberCheck MaxFloat = new MaxNumberCheck();
            float          result   = MaxFloat.MaximumFloatNumber(num1, num2, num3);
            float          expected = num3;

            Assert.AreEqual(expected, result);
        }
        public void FindingMaxFloatNumberAtPosition3()
        {
            double maxNumber = MaxNumberCheck.MaximumFloatNumber(10.0, 20.0, 30.0);

            Assert.AreEqual(30.0, maxNumber);
        }