Exemple #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);
        }
Exemple #2
0
        public void ScrabbleInstance_InstanceOfScrabble_ScoreTotal()
        {
            Scrabble instanceOfScrabble = new Scrabble();

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