public void ReturnNumbersOfWordsWithSpecialChar() { string input = "hola a."; int[] expected = { 7, 14, 11, 0, 0 }; CipherSolver c = new CipherSolver(); var actualOutput = c.ConvertStringToNumbers(input); CollectionAssert.AreEqual(expected, actualOutput); }
public void ReturnNumberOfLowerLetter() { string input = "a"; int[] expected = { 0 }; CipherSolver c = new CipherSolver(); var actualOutput = c.ConvertStringToNumbers(input); CollectionAssert.AreEqual(expected, actualOutput); }