public void AddWord_words()
        {
            wordCounter wc       = new wordCounter("yoyo", "yoyo yoyo yoyo");
            int         Repeat   = wc.AddWord();
            int         numTimes = 3;

            Assert.AreEqual(numTimes, Repeat);
        }
        public ActionResult Results()
        {
            wordCounter wordcounter = new wordCounter(Request.Form["word"], Request.Form["sentence"]
                                                      );
            int num = wordcounter.AddWord();

            return(View("Results", wordcounter));
        }
        public void GetTest_ReturnWord()
        {
            wordCounter wc = new wordCounter("hello", "hello my name is");

            Assert.AreEqual("hello", wc.GetWord());
        }