public void ShouldReturnABigSumOfArray2()
        {
            // given
            var input = new long[] {
                1000000001,
                1000000002,
            };

            // when
            var result = VeryBigSum.run(input);

            //then
            Assert.Equal(2000000003, result);
        }
Exemplo n.º 2
0
 private static string SumArray(long[] ar)
 {
     return(VeryBigSum.GetVeryBigSum(ar).ToString());
 }