/** Test of isColliding method, of class BoundingBox. */ @Test public void testIsColliding_BoundingBox() { System.out.println("isColliding"); BoundingBox instance = new BoundingBox(new Vector2(1.5, 1.5), 3, 3); BoundingBox otherBox = new BoundingBox(); boolean expResult = true; boolean result = instance.isColliding(otherBox); assertEquals(expResult, result); }
/** Test of isColliding method, of class BoundingBox. */ @Test public void testIsColliding_Point() { System.out.println("isColliding"); Vector2 p = new Vector2(); BoundingBox instance = new BoundingBox(); boolean expResult = true; boolean result = instance.isColliding(p); assertEquals(expResult, result); }