public void DoubleShrinkMutationManager_CommandValuesAreMoeLikely()
        {
            var minValue        = -11;
            var maxValue        = 11;
            var mutationManager = new DoubleShrinkMutationManager(minValue, maxValue);

            mutationManager.AssertCommonValuesAreMoreLikely(maxValue / 2.0);
        }
        public void DoubleShrinkMutationManager_AssertValuesAreScattered()
        {
            var minValue        = -11;
            var maxValue        = 11;
            var mutationManager = new DoubleShrinkMutationManager(minValue, maxValue);

            mutationManager.AssertValuesAreScattered();
        }
        public void DoubleShrinkMutationManager_AllValuesWithinRange()
        {
            var minValue        = -5;
            var maxValue        = 5;
            var mutationManager = new DoubleShrinkMutationManager(minValue, maxValue);

            mutationManager.AssertAllValuesAreWithinRange(maxValue, minValue);
        }
        public void DoubleShrinkMutationManager_MutationHappensWithRightProbability()
        {
            var mutationManager = new DoubleShrinkMutationManager(-100, 100);

            mutationManager.CheckMutationsHappenWithRightProbability(g => g != 0);
        }