Exemplo n.º 1
0
        public void Instantiate_Default()
        {
            //arrange
            //act
            var party = new GuildLeader.Party();

            //assert
            Assert.IsNotNull(party);
            Assert.IsInstanceOfType(party, typeof(GuildLeader.Party));
        }
Exemplo n.º 2
0
        public void AddCharacter()
        {
            //arrange
            var party     = new GuildLeader.Party();
            var character = new GuildLeader.Character();

            //act
            party.Members.Add(character);
            //assert
            Assert.IsNotNull(party.Members);
            Assert.IsTrue(party.Members.Count == 1);
        }