public ActionResult Results()
        {
            Anagramer     newWord = new Anagramer(Request.Form["inputWord"]);
            List <string> result  = newWord.GetValue(newWord.GetWord());

            return(View(result));
        }
        public void GetValue2()
        {
            //Arrange
            Anagramer newWord = new Anagramer("alert");

            var output = new List <string> {
                "alert", "alter", "later"
            };

            //Act
            List <string> result = newWord.GetValue(newWord.GetWord());

            //Assert
            CollectionAssert.AreEqual(result, output);
        }
        public void GetValue()
        {
            //Arrange
            Anagramer newWord = new Anagramer("beast");

            var output = new List <string> {
                "abets", "baste", "betas", "beast", "beats"
            };

            //Act
            List <string> result = newWord.GetValue(newWord.GetWord());

            //Assert
            CollectionAssert.AreEqual(result, output);
        }