Example #1
0
 public void Test_MaxSequenceSix()
 {
     Assert.AreEqual(6, Kata_Class.MaxSequence(new int[] { -2, 1, -3, 4, -1, 2, 1, -5, 4 }));
 }
Example #2
0
 public void Test_MaxSequenceZero()
 {
     Assert.AreEqual(0, Kata_Class.MaxSequence(new int[0]));
 }