public void DoItAll_Covering(int numberProvided, int expectedNumberOfDogs, int expectedTotalNumberOfLegs)
        {
            var sut = new FacadeDogClass();

            var outcome = sut.DoItAll(numberProvided);

            Assert.AreEqual(expectedNumberOfDogs, outcome.Item1);
            Assert.AreEqual(expectedTotalNumberOfLegs, outcome.Item2);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello! Give me a number and I will give you dogs of many legs...");
            var numberFromCustomer = int.Parse(Console.ReadLine());

            FacadeDogClass facadeDog = new FacadeDogClass();

            facadeDog.DoItAll(numberFromCustomer);

            Console.ReadLine();
        }