void () { Rectangle bounds = new Rectangle(100, 100); assertTrue(ScreenUtil.isMovementTowards(new Point(150, 50), new Point(110, 40), bounds)); assertTrue(ScreenUtil.isMovementTowards(new Point(150, 50), new Point(110, 60), bounds)); }