public void CipherLettersOnlyAndReturnsSameCharIfNotLetter() { char letter = '_'; int shift = 7; char expectedResult = '_'; Caesar caesar = new Caesar(); char actualResult = caesar.CipherLetter(letter, shift); Assert.AreEqual(expectedResult, actualResult); }
public void CipherLetterCorrectlyShiftsSingleChar() { char letter = 'a'; int shift = 7; char expectedResult = 'h'; Caesar caesar = new Caesar(); char actualResult = caesar.CipherLetter(letter, shift); Assert.AreEqual(expectedResult, actualResult); }