예제 #1
0
        public void ObjectiveFunction_Substitution_Successful(
            ObjectiveFunction objectiveFunction, Decomposition decomposition, ObjectiveFunction expected)
        {
            objectiveFunction.Substitution(decomposition);

            CollectionAssert.AreEqual(expected.ToArray(), objectiveFunction.ToArray());
        }