Пример #1
0
		public void WordNotContainsLetter()
		{
			char letter = 'h';

            Word word = new Word();

			bool hasLetter = word.ContainsLetter(letter);

			Assert.IsNotNull(hasLetter);
		}
Пример #2
0
		public void TheLetterAsSomeChar()
		{
			char letter = '%';

            Word word = new Word();

			bool hasLetter = word.ContainsLetter(letter);

			Assert.AreEqual(hasLetter, false, "The word can't contain a char!");
		}
Пример #3
0
		public void WordContainsLetter()
		{
			char letter = 'x';

            Word word = new Word();

			bool hasLetter = word.ContainsLetter(letter);

            Assert.AreEqual(hasLetter, false, "This letter isn't included in the word");
		}