Exemple #1
0
        public void TestMinJumpOn(int[] arr, int expected)
        {
            var tower  = new TowerHopper();
            var result = tower.JumpOn(arr);

            Assert.AreEqual(expected, result);
        }
Exemple #2
0
        public void TestCanJump(int[] arr, bool expected)
        {
            var tower  = new TowerHopper();
            var result = tower.CanJump(arr);

            Assert.AreEqual(expected, result);
        }