Пример #1
0
 public void ValidatePredictionValue_Pass()
 {
     AllowedValues.ValidatePredictionValue("", "");
     AllowedValues.ValidatePredictionValue(".", "");
     AllowedValues.ValidatePredictionValue("P", "");
     AllowedValues.ValidatePredictionValue("Likely Benign", "");
     AllowedValues.ValidatePredictionValue("Vus", "");
 }
Пример #2
0
 public void ValidatePredictionValue_ThrowException()
 {
     Assert.Throws <UserErrorException>(() => AllowedValues.ValidatePredictionValue("LikelyBenign", ""));
     Assert.Throws <UserErrorException>(() => AllowedValues.ValidatePredictionValue("Likely Benign, LB", ""));
 }