Esempio n. 1
0
        public void Assure_valid_scores()
        {
            var table = GetTestTable();

            foreach (var row in table)
            {
                game = new TennisGame();

                Play_a_set((int)row[0], (int)row[1]);

                Assert.AreEqual(row[2], game.GetScore());
            }
        }
Esempio n. 2
0
        public void Assure_valid_scores()
        {
            var table = GetTestTable();

            foreach (var row in table)
            {
                game = new TennisGame();

                Play_a_set((int)row[0], (int)row[1]);

                Assert.AreEqual(row[2], game.GetScore());
            }
        }