public string ArmorNameGenerator(GearItemChoose type) { GearItemChoose itType = type; string name; var adjective = RandomArmorAdjectiveEnum(); var noun = RandomArmorNounEnum(); name = $"{itType} of {adjective} {noun}"; return(name); }
public void GearRandomMethod_Test() { //Arrange GearItemChoose expected = GearItemChoose.Legs; ArmorItemBuilder armBuild = new ArmorItemBuilder(); //Act GearItemChoose result = armBuild.GearRandomMethod(3); //Assert Assert.Equal(expected, result); }