Exemplo n.º 1
0
        void DecodeFullText(string expected, string mcode, bool pass = true)
        {
            var morseCode = new MorseCode();

            morseCode.DecodeWithDictionary = false;

            string result = morseCode.DecodeFullTextToString(mcode);

            bool equals = result.Equals(expected, StringComparison.OrdinalIgnoreCase);

            Assert.True(equals == pass);
        }