示例#1
0
        public void RandomFirstNameIsNotNull()
        {
            // Arrange
            RandomCharacter testCharacter = new RandomCharacter();

            // Act
            testCharacter.SetRandomName(testCharacter.GetGender(), testCharacter.GetRace().GetName());
            // Assert
            Assert.NotNull(testCharacter.GetFirstName());
        }
示例#2
0
        public void RaceIsNotNull()
        {
            // Arrange
            RandomCharacter testCharacter = new RandomCharacter();

            // Act
            testCharacter.SetRandomRace();
            // Assert
            Assert.NotNull(testCharacter.GetRace());
        }