Esempio n. 1
0
        public void TestmatchAlreadyEndedP2()
        {
            Match match = new Match();

            for (int i = 0; i < 73; i++)
            {
                match.PlayerTwoWinsPoint();
            }
        }
Esempio n. 2
0
        public void TestMatchNotDone()
        {
            Match match = new Match();

            for (int i = 0; i < 50; i++)
            {
                match.PlayerTwoWinsPoint();
            }
            Assert.AreEqual("0 - 6, 0 - 6, 0 - 0, love - 30", match.Score());
        }
Esempio n. 3
0
        public void TestCleanSweepP2()
        {
            Match match = new Match();

            for (int i = 0; i < 72; i++)
            {
                match.PlayerTwoWinsPoint();
            }
            Assert.AreEqual("0 - 6, 0 - 6, 0 - 6", match.Score());
        }
Esempio n. 4
0
        public void TestCleanSweep()
        {
            Match match = new Match();

            for (int i = 0; i < 72; i++)
            {
                match.PlayerOneWinsPoint();
            }
            Assert.AreEqual("6 - 0, 6 - 0, 6 - 0", match.Score());
        }