src/GenFx.Wpf.Tests/AdditionConverterTest.cs
/// <summary>
/// Tests that the <see cref="AdditionConverter.Convert"/> method works correctly.
/// </summary>
Tests that the  method works correctly.
Tests that the method works correctly .
[Fact]
        public void AdditionConverter_Convert()
        {
            AdditionConverter converter = new AdditionConverter();
            converter.Value = 2;
            object result = converter.Convert(1, null, null, null);
            Assert.Equal(3, result);
            converter.Value = -5;
            result = converter.Convert(3, null, null, null);
            Assert.Equal(-2, result);
            result = converter.Convert(null, null, null, null);
            Assert.Null(result);
        }
[ Fact ] public void AdditionConverter_Convert ( ) { AdditionConverter converter = new AdditionConverter ( ) ; converter . Value = 2 ; object result = converter . Convert ( 1 , null , null , null ) ; Assert . Equal ( 3 , result ) ; converter . Value = - 5 ; result = converter . Convert ( 3 , null , null , null ) ; Assert . Equal ( - 2 , result ) ; result = converter . Convert ( null , null , null , null ) ; Assert . Null ( result ) ; }
Tests that the  method works correctly.
Tests that the method works correctly .