Exemplo n.º 1
0
        public void GetAmountOfPlayers_SetArgumentToString3_ReturnsInt3()
        {
            int actual   = sut.GetAmountOfPlayers("3");
            int expected = 3;

            Assert.Equal(expected, actual);
        }
Exemplo n.º 2
0
 public async Task Start(bool a_noTest = true)
 {
     try
     {
         m_IView.GetAmountOfPlayersIntroMessage();
         int            players    = m_IView.GetAmountOfPlayers();
         List <IPlayer> playerList = CreatePlayer(players);
         playerList = AddName(playerList);
         await Play(playerList, m_asyncDelay, a_noTest);
     }
     catch (Exception ex)
     {
         throw;
     }
 }