Пример #1
0
        public void ChangeSides()
        {
            TennisGame game = new TennisGame("Name_1", "Name_2");

            game.ChangeSides();
            Assert.IsTrue((game.LeftSide() == game.Player_2()) && (game.RightSide() == game.Player_1()));
        }
Пример #2
0
        public void StartRightSide()
        {
            TennisGame game = new TennisGame("Name_1", "Name_2");

            Assert.IsTrue(game.RightSide() == game.Player_2());
        }