Ejemplo n.º 1
0
        public void CheckThirdString_WhenGreater_RetrunPeach()
        {
            string max    = "Peach";
            string Result = MaximumNumbers <string> .MaxNumber("Apple", "Banana", "Peach");

            Assert.AreEqual(max, Result);
        }
Ejemplo n.º 2
0
        public void CheckSecondString_WhenGreater_RetrunStrawberry()
        {
            string max    = "Strawberry";
            string Result = MaximumNumbers <string> .MaxNumber("Apple", "Strawberry", "Peach");

            Assert.AreEqual(max, Result);
        }
Ejemplo n.º 3
0
        public void CheckFirstString_WhenGreater_ReturnPeach()
        {
            string max    = "Strawberry";
            string Result = MaximumNumbers <string> .MaxNumber("Strawberry", "Apple", "Peach");

            Assert.AreEqual(max, Result);
        }
Ejemplo n.º 4
0
        public void CheckThirMaximumNumber_WhenGreaterNo_ThirdNumber()
        {
            int max    = 28;
            int Result = MaximumNumbers <int> .MaxNumber(22, 24, 28);

            Assert.AreEqual(max, Result);
        }
Ejemplo n.º 5
0
        public void CheckSecondMaximumNumber_WhenGreaterNo_SecondNumber()
        {
            int max    = 24;
            int Result = MaximumNumbers <int> .MaxNumber(22, 24, 10);

            Assert.AreEqual(max, Result);
        }
Ejemplo n.º 6
0
        public void CheckFirstMaximumNumber_WhenGreaterNo_FirstPosition()
        {
            int max    = 22;
            int Result = MaximumNumbers <int> .MaxNumber(22, 11, 10);

            Assert.AreEqual(max, Result);
        }