src/GenFx.Tests/IntegerValidatorTest.cs
/// <summary>
/// Tests that the constructor throws when invalid values are used for min/max.
/// </summary>
Tests that the constructor throws when invalid values are used for min/max.
Tests that the constructor throws when invalid values are used for min / max .
[Fact]
        public void IntegerValidator_Ctor_InvalidMinMax()
        {
            int min = 100;
            int max = 99;
            Assert.Throws<ArgumentOutOfRangeException>(() => new IntegerValidator(min, max));
        }
[ Fact ] public void IntegerValidator_Ctor_InvalidMinMax ( ) { int min = 100 ; int max = 99 ; Assert . Throws < ArgumentOutOfRangeException > ( ( ) => new IntegerValidator ( min , max ) ) ; }
Tests that the constructor throws when invalid values are used for min/max.
Tests that the constructor throws when invalid values are used for min / max .