src/GenFx.Wpf.Tests/PopulationSelectorTest.cs
/// <summary>
/// Tests that no change is made when the enviroment is changed without a population.
/// </summary>
Tests that no change is made when the enviroment is changed without a population.
Tests that no change is made when the enviroment is changed without a population .
[StaFact]
        public void PopulationSelector_OnEnvironmentChanged_NoPopulation()
        {
            PopulationSelector selector = new PopulationSelector
            {
                Environment = new GeneticEnvironment(Mock.Of<GeneticAlgorithm>())
            };
            Assert.Null(selector.SelectedPopulation);
        }
[ StaFact ] public void PopulationSelector_OnEnvironmentChanged_NoPopulation ( ) { PopulationSelector selector = new PopulationSelector { Environment = new GeneticEnvironment ( Mock . Of < GeneticAlgorithm > ( ) ) } ; Assert . Null ( selector . SelectedPopulation ) ; }
Tests that no change is made when the enviroment is changed without a population.
Tests that no change is made when the enviroment is changed without a population .