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

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

            Assert.AreEqual(expected, result);
        }