public void OJ055_JumpGameTest2() { bool result = new OJ055_JumpGame().CanJump(new int[] { 3, 2, 1, 0, 4 }); Assert.AreEqual(false, result); }
public void OJ055_JumpGameTest1() { bool result = new OJ055_JumpGame().CanJump(new int[] { 2, 3, 1, 1, 4 }); Assert.AreEqual(true, result); }