public void TestCase1() { var sut = new JumpingArray(new[] { 10, 13, 12, 14, 15 }); var result = sut.GetJumpsUntilEnd(); result.Should().Be(2); }
public void TestCase3() { var sut = new JumpingArray(new[] { 10 }); var result = sut.GetJumpsUntilEnd(); result.Should().Be(1); }