public double[] CalculateFromSum(double sum) { svc = new Consecutive(); var result = svc.ConsecutiveFromSum(sum); return(result); }
public void TestByImposibleNumber(double sum, double[] actrual) { svc = new Consecutive(); var result = svc.ConsecutiveFromSum(sum); Assert.Equal(actrual, result); }