Exemplo n.º 1
0
        public void TestMethodAddMainScore()
        {
            Score score = new Score(ref ScoreText, ref ComboText, ref RecordText, ref DestroyLinesText, ref PlayerNick);

            score.AddMainScore(7824);
            PrivateObject privateScore = new PrivateObject(score);
            int           mainScore    = (int)privateScore.GetField("mainScore");

            Assert.AreEqual(7824, mainScore);
        }