예제 #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 GenderIsNotNull()
        {
            // Arrange
            RandomCharacter testCharacter = new RandomCharacter();

            // Act
            testCharacter.SetRandomGender();
            // Assert
            Assert.NotNull(testCharacter.GetGender());
        }