public double[] CalculateFromSum(double sum)
        {
            svc = new Consecutive();
            var result = svc.ConsecutiveFromSum(sum);

            return(result);
        }
예제 #2
0
        public void TestByImposibleNumber(double sum, double[] actrual)
        {
            svc = new Consecutive();
            var result = svc.ConsecutiveFromSum(sum);

            Assert.Equal(actrual, result);
        }