コード例 #1
0
        public void UniqueMorseRepresentationsTests()
        {
            UniqueMorseCodeWords obj = new UniqueMorseCodeWords();

            var words = new string[] { "gin", "zen", "gig", "msg" };
            var x     = obj.UniqueMorseRepresentations(words);
        }
コード例 #2
0
        public void UniqueMorseCodeWordsTestMethod()
        {
            UniqueMorseCodeWords umcw = new UniqueMorseCodeWords();

            Assert.AreEqual(2, umcw.UniqueMorseRepresentations(new string[] { "gin", "zen", "gig", "msg" }));
        }