コード例 #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);
        }