コード例 #1
0
ファイル: Tests.cs プロジェクト: geekyswissmiss/CodeTestery
        public void CountBALLOONTestMethod3()
        {
            String letters = "LLMNOOABBAJNKLOLOPBLLANQW";

            Playground.WordFinder2 wordFinder2 = new Playground.WordFinder2();
            var wordCount     = wordFinder2.CountBALLOON(letters);
            var expectedCount = 2;

            Assert.AreEqual(expectedCount, wordCount);
        }
コード例 #2
0
ファイル: Tests.cs プロジェクト: geekyswissmiss/CodeTestery
        public void CountBALLOONTestMethod2()
        {
            String letters = "BERSDLNOBL";

            Playground.WordFinder2 wordFinder2 = new Playground.WordFinder2();
            var wordCount     = wordFinder2.CountBALLOON(letters);
            var expectedCount = 0;

            Assert.AreEqual(expectedCount, wordCount);
        }