示例#1
0
        public void Boss_Medium_Start_Success()
        {
            Boss_Medium boss = new Boss_Medium(100, 100, 20, 2000, 2000);

            boss.state = State.Start;

            boss.RecieveTrackerData(200, 200);
            boss.Y = 10;

            boss.UpdatePosition();

            Assert.IsTrue(boss.Y > 10);

            boss.Y = 300;

            boss.UpdatePosition();

            Assert.IsTrue(boss.Y < 300);
        }