public void SinglePointCrossoverOperator_Validation_WithoutListEntityBase()
        {
            SinglePointCrossoverOperator op        = new SinglePointCrossoverOperator();
            MockGeneticAlgorithm         algorithm = new MockGeneticAlgorithm
            {
                GeneticEntitySeed = new MockEntity()
            };

            op.Initialize(algorithm);

            Assert.Throws <ValidationException>(() => op.Validate());
        }
        public void SinglePointCrossoverOperator_Validation_WithListEntityBase()
        {
            SinglePointCrossoverOperator op        = new SinglePointCrossoverOperator();
            MockGeneticAlgorithm         algorithm = new MockGeneticAlgorithm
            {
                GeneticEntitySeed = new IntegerListEntity()
            };

            op.Initialize(algorithm);

            op.Validate();
        }