public void GetStringTranscription_IncorrectNumber_Exception(char number, Cases caseVal, Genders genderVal) { //arrange var dozens = new Dozens(); //act TestDelegate result = () => dozens.GetStringTranscription(number, caseVal, genderVal); //assert Assert.Throws <InvalidDataException>(result); }
public void GetStringTranscription_CorrectNumber_CorrectString(char number, string resultTest, Cases caseVal, Genders genderVal) { //arrange var dozens = new Dozens(); //act var result = dozens.GetStringTranscription(number, caseVal, genderVal); //assert Assert.That(result, Is.EqualTo(resultTest)); }