public Person() { //TODO: Fix to actually use real names. For now this random string is fine firstName = Path.GetRandomFileName().Replace(".",""); familyName = Path.GetRandomFileName().Replace(".",""); //TODO: Create description based off data like: X and Y //Examples: Drowsy and Fanatic // Jumpy and Fat // Tall and Particularly Long Hair //More examples here: http://www.mathemagician.net/town.html var pdf = new PersonDescriptorFactory(); description = pdf.GenerateDescription(); //TODO: Based on the class, they can have specific jobs job = new Job(); race = Race.Unknown; classType = ClassType.Unknown; }
public void PersonDescriptorFactoryReturnsDescription() { var pdf = new PersonDescriptorFactory(); var str = pdf.GenerateDescription(); Assert.NotEmpty(str); }