Beispiel #1
0
        public void TestmatchAlreadyEndedP2()
        {
            Match match = new Match();

            for (int i = 0; i < 73; i++)
            {
                match.PlayerTwoWinsPoint();
            }
        }
Beispiel #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());
        }
Beispiel #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());
        }
Beispiel #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());
        }