public void Operate_DifferentLengthVectors_Throws()
        {
            parents.Add(parentBad);
            var cx = new CrossoverArithmeticMultiParent();

            Assert.Throws <ArgumentOutOfRangeException>(() => cx.Operate(parents.ToArray()));
        }
        public void Operate_EqualLengthVectors_ReturnsAverage()
        {
            var cx    = new CrossoverArithmeticMultiParent();
            var child = cx.Operate(parents.ToArray());

            Assert.Equal(
                new[] { 3.0, 2.0, 3.0, 2.0 },
                child.Select(d => (double)d));
        }