Ejemplo n.º 1
0
        public void ValueString_TwentyFivePercent_Correct()
        {
            var tolerance = new NumericPercentageTolerance(new decimal(0.25), SideTolerance.Both);

            Assert.That(tolerance.ValueString, Is.EqualTo("25.00%"));
        }
Ejemplo n.º 2
0
        public void ValueString_FiftyPercent_Correct()
        {
            var tolerance = new NumericPercentageTolerance(new decimal(0.5), SideTolerance.Both);

            Assert.That(tolerance.ValueString, Is.EqualTo("50.0%"));
        }