public void IsLettersOnlyTrueTest() { Word testWord = new Word("testWord"); bool result = testWord.IsLettersOnly(testWord.Content); bool expected = true; Assert.AreEqual(expected, result); }
public void IsLettersOnlyFalseWithSpecialSymbolTest() { Word testWordWithSpecialSymbol = new Word("test{Word}"); testWordWithSpecialSymbol.IsLettersOnly(testWordWithSpecialSymbol.Content); }
public void IsLettersOnlyFalseWithWhiteSpaceTest() { Word testWordWithWhiteSpace = new Word("test Word"); testWordWithWhiteSpace.IsLettersOnly(testWordWithWhiteSpace.Content); }
public void IsLettersOnlyFalseWithNumberTest() { Word testWordWithNumber = new Word("test1Word"); testWordWithNumber.IsLettersOnly(testWordWithNumber.Content); }