public void test_187() { Assert.AreEqual(187, ComputeTheLargestSumOfAllContiguousSubsequences.Compute(new[] { 3, -4, 31, -41, 59, 26, -53, 58, 97, -93, -23, 84 })); }
public void test_zero() { Assert.AreEqual(0, ComputeTheLargestSumOfAllContiguousSubsequences.Compute(new[] { -1, -2, -3 })); }
public void test_1234() { Assert.AreEqual(10, ComputeTheLargestSumOfAllContiguousSubsequences.Compute(new[] { 1, 2, 3, 4 })); }