示例#1
0
        public void OutOfLives_ZeroLives_ReturnsTrue()
        {
            HangmanMain hm    = MakeHangman();
            int         lives = 0;

            Assert.IsTrue(hm.OutOfLives(lives));
        }
示例#2
0
        public void OutOfLives_PositiveLives_ReturnsFalse()
        {
            HangmanMain hm    = MakeHangman();
            int         lives = 3;

            Assert.IsFalse(hm.OutOfLives(lives));
        }