예제 #1
0
        public void MistakesShouldNBeZeroWhenGameInfoCreated()
        {
            var gameInfo = new GameInfo();

            int expected = 0;
            int actual = gameInfo.Mistakes;

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void UsedLettersShouldNBeZeroWhenGameInfoCreated()
        {
            var gameInfo = new GameInfo();

            int expected = 0;
            int actual = gameInfo.UsedLetters.Count;

            Assert.AreEqual(expected, actual);
        }
예제 #3
0
        public void GameInfoShouldNotBeNullWhenInstantiated()
        {
            var gameInfo = new GameInfo();

            Assert.IsNotNull(gameInfo);
        }