Exemplo n.º 1
0
        public void CountBALLOONTestMethod3()
        {
            String letters = "LLMNOOABBAJNKLOLOPBLLANQW";

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

            Assert.AreEqual(expectedCount, wordCount);
        }
Exemplo n.º 2
0
        public void CountBALLOONTestMethod2()
        {
            String letters = "BERSDLNOBL";

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

            Assert.AreEqual(expectedCount, wordCount);
        }