Example #1
0
        public void testDolphin()
        {
            Dolphin franklin = new Dolphin()
            {
                Waterboi = true, shouldRide = "absolutely"
            };

            franklin.makeMilk();
            string expected          = "Make that milk";
            string expectedInterface = "absolutely";

            Assert.Equal(expected, franklin.makeMilk());
            Assert.True(franklin.Waterboi);
            //test below checks for interface + ridable
            Assert.Equal(expectedInterface, franklin.shouldRide);
        }