public void TeMaxSequenceIsSeven() { Assert.Equal(7, Kata_5_1.MaxSequence(new int[] { 2, -3, 3, 4, -5, 2 })); }
public void MaxSequenceIsZero() { Assert.Equal(0, Kata_5_1.MaxSequence(new int[0])); }
public void TeMaxSequenceIsSix() { Assert.Equal(6, Kata_5_1.MaxSequence(new int[] { -2, 1, -3, 4, -1, 2, 1, -5, 4 })); }