Ejemplo n.º 1
0
        public void TestRecreationalBoatCatchPhrase()
        {
            RecreationalBoat recreationalBoat = new RecreationalBoat();
            string           phrase           = recreationalBoat.CatchPhrase();

            Assert.Equal("Fishing is too much work, I'd rather Relax", phrase);
        }
Ejemplo n.º 2
0
        static void RecreationalBoatMessage()
        {
            RecreationalBoat recreationalBoat = new RecreationalBoat();
            string           phrase           = recreationalBoat.Description();

            Console.WriteLine(phrase);
            phrase = recreationalBoat.UsedFor();
            Console.WriteLine(phrase);
            phrase = recreationalBoat.CatchPhrase();
            Console.WriteLine(phrase);
            Console.WriteLine(" ");
        }