public void IncorrectMorseCode()
        {
            MorseDictionary dictionary = new MorseDictionary();

            dictionary.DecodeLine("Kein Morse-Code");
            Assert.IsTrue(true);
        }
        public void CorrectMorseCode()
        {
            MorseDictionary dictionary  = new MorseDictionary();
            string          solution    = "MORSE CODE";
            var             decodedCode = dictionary.DecodeLine("-- --- .-. ... .    -.-. --- -.. .");
            // Converts the ArrayList to a string
            string decodedCodeStr = string.Join("", decodedCode.ToArray());

            Assert.IsTrue(solution.Trim().Equals(decodedCodeStr.Trim()));
        }