示例#1
0
        static void Main(string[] args)
        {
            //Console.WriteLine(MorseCodeDecoder.DecodeBits("1100110011001100000011000000111111001100111111001111110000000000000011001111110011111100111111000000110011001111110000001111110011001100000011"));

            Console.WriteLine(MorseCodeDecoder.DecodeMorse(MorseCodeDecoder.DecodeBits("01110")));

            Console.ReadLine();
        }
示例#2
0
 public void TestExampleFromDescription()
 {
     Assert.AreEqual("HEY JUDE", MorseCodeDecoder.DecodeMorse(MorseCodeDecoder.DecodeBits("1100110011001100000011000000111111001100111111001111110000000000000011001111110011111100111111000000110011001111110000001111110011001100000011")));
 }