src/GenFx.Wpf.Tests/RequireNonNegativeIntegerConverterTest.cs
/// <summary>
/// Tests that the <see cref="RequireNonNegativeIntegerConverter.ConvertBack"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void RequireNonNegativeIntegerConverter_ConvertBack()
        {
            RequireNonNegativeIntegerConverter converter = new RequireNonNegativeIntegerConverter();
            object result = converter.ConvertBack(null, null, null, null);
            Assert.Null(result);
            result = converter.ConvertBack(-1, null, null, null);
            Assert.Equal(-1, result);
            result = converter.ConvertBack(0, null, null, null);
            Assert.Equal(0, result);
        }
[ Fact ] public void RequireNonNegativeIntegerConverter_ConvertBack ( ) { RequireNonNegativeIntegerConverter converter = new RequireNonNegativeIntegerConverter ( ) ; object result = converter . ConvertBack ( null , null , null , null ) ; Assert . Null ( result ) ; result = converter . ConvertBack ( - 1 , null , null , null ) ; Assert . Equal ( - 1 , result ) ; result = converter . ConvertBack ( 0 , null , null , null ) ; Assert . Equal ( 0 , result ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .