コード例 #1
0
ファイル: UnitTest1.cs プロジェクト: CClemensJr/Zoo
        public void ShouldHunt()
        {
            Crocodile crocionel = new Crocodile();

            Assert.Equal(" waits patiently for an unsuspecting victim in the water", crocionel.Hunt());
        }
コード例 #2
0
ファイル: UnitTest1.cs プロジェクト: mikefili/Zoo
        public void CrocodileCanInheritHunt()
        {
            Crocodile crocodile = new Crocodile();

            Assert.True(crocodile.Hunt());
        }