src/GenFx.Tests/SettingValidatorAttributeTest.cs
/// <summary>
/// Tests that the constructor initializes the state correctly.
/// </summary>
Tests that the constructor initializes the state correctly.
Tests that the constructor initializes the state correctly .
[Fact]
        public void IntegerValidatorAttribute_Ctor()
        {
            IntegerValidatorAttribute attrib = new IntegerValidatorAttribute();
            Assert.Equal(Int32.MinValue, attrib.MinValue);
            Assert.Equal(Int32.MaxValue, attrib.MaxValue);
            Assert.IsType<IntegerValidator>(attrib.Validator);
        }
[ Fact ] public void IntegerValidatorAttribute_Ctor ( ) { IntegerValidatorAttribute attrib = new IntegerValidatorAttribute ( ) ; Assert . Equal ( Int32 . MinValue , attrib . MinValue ) ; Assert . Equal ( Int32 . MaxValue , attrib . MaxValue ) ; Assert . IsType < IntegerValidator > ( attrib . Validator ) ; }
Tests that the constructor initializes the state correctly.
Tests that the constructor initializes the state correctly .