Esempio n. 1
0
        public void ShortInputReturnsFalse()
        {
            MasterMindGame masterMindTest = new MasterMindGame(6, 2);

            Assert.IsFalse(masterMindTest.GoodAttempt("12"));
        }
Esempio n. 2
0
        public void IncorrectRangeReturnsFalse()
        {
            MasterMindGame masterMindTest = new MasterMindGame(6, 2);

            Assert.IsFalse(masterMindTest.GoodAttempt("7777"));
        }
Esempio n. 3
0
        public void GoodAttemptReturnsTrue()
        {
            MasterMindGame masterMindTest = new MasterMindGame(6, 2);

            Assert.IsTrue(masterMindTest.GoodAttempt("1111"));
        }