예제 #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", ""));
 }