public void ApplyActionTestMoveDownCollision()
        {
            Block       anchor = new Block(1, 2);
            SquareShape shape  = new SquareShape(anchor, defaultOri);
            BlockGrid   grid   = new BlockGrid(10, 10);

            shape.AboutToPlaceGameShape();
            MovementManager.ApplyAction(InputAction.MoveDown, grid, shape);
            Assert.IsTrue(shape.isPlaced);
        }
        public void ApplyActionTestMoveRightNoCollision()
        {
            Block       anchor1 = new Block(1, 1);
            Block       anchor2 = new Block(1, 3);
            SquareShape shape1  = new SquareShape(anchor1, defaultOri);
            SquareShape shape2  = new SquareShape(anchor2, defaultOri);

            BlockGrid grid = new BlockGrid(10, 10);

            grid.PlaceShape(shape1);
            shape2.AboutToPlaceGameShape();

            Assert.IsTrue(shape2.isAboutToPlace);

            MovementManager.ApplyAction(InputAction.MoveRight, grid, shape2);
            MovementManager.ApplyAction(InputAction.MoveRight, grid, shape2);

            Assert.IsFalse(shape2.isAboutToPlace);
        }