public void CheckMapsString()
        {
            string expectedResult = "ABC";

            string actualResult = LetterMapper.CreateLettersString(new Letters[] { Letters.A, Letters.B, Letters.C });

            Assert.That(actualResult, Is.EqualTo(expectedResult));
        }
Esempio n. 2
0
        public string GetOutput(string text)
        {
            Letters[] inputText = LetterMapper.CreateLettersArray(text);

            Letters[] outputText = new Letters[inputText.Length];

            for (int i = 0; i < inputText.Length; i++)
            {
                outputText[i] = GetOutput(inputText[i]);
            }

            return(LetterMapper.CreateLettersString(outputText));
        }