src/GenFx.Wpf.Tests/AlgorithmStatusBarTest.cs
/// <summary>
/// Tests that the <see cref="AlgorithmStatusBar.ExecutionContext"/> property works correctly.
/// </summary>
Tests that the  property works correctly.
Tests that the property works correctly .
[StaFact]
        public void AlgorithmStatusBar_ExecutionContextProperty()
        {
            AlgorithmStatusBar statusBar = new AlgorithmStatusBar();
            ExecutionContext context = new ExecutionContext(Mock.Of<GeneticAlgorithm>());
            statusBar.ExecutionContext = context;
            Assert.Same(context, statusBar.ExecutionContext);
        }
[ StaFact ] public void AlgorithmStatusBar_ExecutionContextProperty ( ) { AlgorithmStatusBar statusBar = new AlgorithmStatusBar ( ) ; ExecutionContext context = new ExecutionContext ( Mock . Of < GeneticAlgorithm > ( ) ) ; statusBar . ExecutionContext = context ; Assert . Same ( context , statusBar . ExecutionContext ) ; }
Tests that the  property works correctly.
Tests that the property works correctly .