Esempio 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);
        }
Esempio 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);
        }