Ejemplo n.º 1
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());
        }
Ejemplo 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());
        }
Ejemplo n.º 3
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());
        }