public void GetPlayername_ArgumentStringRogge_ReturnsStringRogge()
        {
            string actual   = sut.GetPlayername("Rogge");
            string expected = "Rogge";

            Assert.Equal(expected, actual);
        }
Esempio n. 2
0
        internal List <IPlayer> AddName(List <IPlayer> a_playerList)
        {
            foreach (IPlayer player in a_playerList)
            {
                m_IView.GetPlayerNameIntroMessage();
                string name = m_IView.GetPlayername();
                player.SetPlayername(name);
            }

            return(a_playerList);
        }