コード例 #1
0
        public void ClassesImplementInterfaces()
        {
            Horse  buttercup = new Horse("Buttercup");
            Dragon dunstan   = new Dragon();

            Assert.True(buttercup.Dive(20) == 2 && dunstan.Climb(200) == 400);
        }