src/GenFx.Wpf.Tests/PopulationViewerTest.cs
/// <summary>
/// Tests that the entities are updated when the population is changed if the state is idle or paused.
/// </summary>
Tests that the entities are updated when the population is changed if the state is idle or paused.
Tests that the entities are updated when the population is changed if the state is idle or paused .
[StaFact]
        public void PopulationViewer_OnSelectedPopulationChanged()
        {
            TestPopulationChange(ExecutionState.Idle, true);
            TestPopulationChange(ExecutionState.IdlePending, false);
            TestPopulationChange(ExecutionState.Paused, true);
            TestPopulationChange(ExecutionState.PausePending, false);
            TestPopulationChange(ExecutionState.Running, false);
        }
[ StaFact ] public void PopulationViewer_OnSelectedPopulationChanged ( ) { TestPopulationChange ( ExecutionState . Idle , true ) ; TestPopulationChange ( ExecutionState . IdlePending , false ) ; TestPopulationChange ( ExecutionState . Paused , true ) ; TestPopulationChange ( ExecutionState . PausePending , false ) ; TestPopulationChange ( ExecutionState . Running , false ) ; }
Tests that the entities are updated when the population is changed if the state is idle or paused.
Tests that the entities are updated when the population is changed if the state is idle or paused .