Esempio n. 1
0
        public void BlackBearSwimInterfaceWorks()
        {
            Black blackBear = new Black();

            string swim = blackBear.swimSpeed();

            Assert.Equal("Im swimming fast to get the fish!", swim);
        }
Esempio n. 2
0
        /// <summary>
        /// Make an instance of Black(Bear)
        /// </summary>
        public static void MakeBlackBear()
        {
            Black blackBear = new Black();

            Console.WriteLine("-Black Bear-");
            Console.WriteLine($"Black bears have {blackBear.Legs} legs.");
            Console.WriteLine($"Black bears have {blackBear.FurAppearance} fur.");
            blackBear.swimSpeed();
            blackBear.RepresentingMyTeam();
            Console.WriteLine("~~~~~~~~~~~~~~~~~");
        }