Exemple #1
0
        public void GetTarget_AlmostBottomCornerFlag_LocialPosition()
        {
            var act = Keeper.GetTarget(new Position(5, 900));
            var exp = new Position(0.1f, 614.0f);

            CloudBallAssert.AreEqual(exp, act, 0.1f);
        }
Exemple #2
0
        public void GetTarget_200x400y_LocialPosition()
        {
            var act = Keeper.GetTarget(new Position(200, 400));
            var exp = new Position(16.3f, 487.6f);

            CloudBallAssert.AreEqual(exp, act, 0.1f);
        }
Exemple #3
0
        public void GetTarget_800x539y_LocialPosition()
        {
            var act = Keeper.GetTarget(new Position(800, 539));
            var exp = new Position(59.9f, 539.0f);

            CloudBallAssert.AreEqual(exp, act, 0.1f);
        }
Exemple #4
0
        public void GetTarget_AlmostTopCornerFlag_LocialPosition()
        {
            var act = Keeper.GetTarget(new Position(10, 200));
            var exp = new Position(0.1f, 464.0f);

            CloudBallAssert.AreEqual(exp, act, 0.1f);
        }