Exemple #1
0
        public void ItRejectsPoorlyFormedValues(string input)
        {
            var result = RatioParser.IsRatio(input);

            Assert.That(result, Is.False);
        }
Exemple #2
0
 public bool Validate(IParameter parameter)
 {
     return(RatioParser.IsRatio(parameter.Value));
 }
Exemple #3
0
        public void ItAcceptsWellFormedValues(string input)
        {
            var result = RatioParser.IsRatio(input);

            Assert.That(result, Is.True);
        }