public void ValidatePredictionValue_Pass() { AllowedValues.ValidatePredictionValue("", ""); AllowedValues.ValidatePredictionValue(".", ""); AllowedValues.ValidatePredictionValue("P", ""); AllowedValues.ValidatePredictionValue("Likely Benign", ""); AllowedValues.ValidatePredictionValue("Vus", ""); }
public void ValidatePredictionValue_ThrowException() { Assert.Throws <UserErrorException>(() => AllowedValues.ValidatePredictionValue("LikelyBenign", "")); Assert.Throws <UserErrorException>(() => AllowedValues.ValidatePredictionValue("Likely Benign, LB", "")); }