Exemplo n.º 1
0
        public void GetValue()
        {
            //Arrange
            Scrabbler newWord = new Scrabbler("ADBFJKQ");

            int output = 33;

            //Act
            int result = (newWord.dictScore());

            Console.WriteLine("result " + result);

            //Assert
            Assert.AreEqual(result, output);
        }
Exemplo n.º 2
0
        public ActionResult Results()
        {
            Scrabbler newScrabble = new Scrabbler(Request.Form["inputWord"]);

            return(View(newScrabble));
        }