Beispiel #1
0
        public void PlayGame__Test1()
        {
            MarbleGame marbleGame = new MarbleGame();

            marbleGame.PlayGame(9, 25);
            long highScore = marbleGame.GetHighScore();

            Assert.AreEqual(32, highScore);
        }
Beispiel #2
0
        public void PlayGame__Test6()
        {
            MarbleGame marbleGame = new MarbleGame();

            marbleGame.PlayGame(30, 5807);
            long highScore = marbleGame.GetHighScore();

            Assert.AreEqual(37305, highScore);
        }
Beispiel #3
0
        public void PlayGame__Test5()
        {
            MarbleGame marbleGame = new MarbleGame();

            marbleGame.PlayGame(21, 6111);
            long highScore = marbleGame.GetHighScore();

            Assert.AreEqual(54718, highScore);
        }
Beispiel #4
0
        public void PlayGame__Test4()
        {
            MarbleGame marbleGame = new MarbleGame();

            marbleGame.PlayGame(17, 1104);
            long highScore = marbleGame.GetHighScore();

            Assert.AreEqual(2764, highScore);
        }
Beispiel #5
0
        public void PlayGame__Test3()
        {
            MarbleGame marbleGame = new MarbleGame();

            marbleGame.PlayGame(13, 7999);
            long highScore = marbleGame.GetHighScore();

            Assert.AreEqual(146373, highScore);
        }
Beispiel #6
0
        public void PlayGame__Test2()
        {
            MarbleGame marbleGame = new MarbleGame();

            marbleGame.PlayGame(10, 1618);
            long highScore = marbleGame.GetHighScore();

            Assert.AreEqual(8317, highScore);
        }