Exemplo n.º 1
0
        public void ScrabbleConstructor_CreatesInstanceScrabble_Scrabble()
        {
            string   word    = "hello";
            Scrabble newWord = new Scrabble("Hello");

            Assert.AreEqual(typeof(Scrabble), newWord.GetType());
            Assert.AreEqual(word, newWord.Word);
        }
Exemplo n.º 2
0
        public void ScrabbleInstance_InstanceOfScrabble_ScoreTotal()
        {
            Scrabble instanceOfScrabble = new Scrabble();

            Assert.AreEqual(typeof(Scrabble), instanceOfScrabble.GetType());
        }