### Question:
BBox { public boolean contains(Point p) { return xmin <= p.x && p.x <= xmax && ymin <= p.y && p.y <= ymax; } BBox();  BBox(int xmin, int ymin, int xmax, int ymax);  BBox(BBox bbox); void shrink(int xShrink, int yShrink); int getWidth(); int getHeight(); void remap(Point offset); boolean contains(Point p); boolean overlaps(BBox box); int getXmin(); void setXmin(int xmin); int getXmax(); void setXmax(int xmax); int getYmin(); void setYmin(int ymin); int getYmax(); void setYmax(int ymax); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testContains() { BBox bbox = new BBox(10, 5, 20, 25); assertTrue(bbox.contains(new Point(10, 5))); assertTrue(bbox.contains(new Point(20, 25))); assertTrue(bbox.contains(new Point(15, 10))); assertFalse(bbox.contains(new Point(9, 5))); assertFalse(bbox.contains(new Point(10, 4))); assertFalse(bbox.contains(new Point(9, 4))); assertFalse(bbox.contains(new Point(21, 25))); assertFalse(bbox.contains(new Point(20, 26))); assertFalse(bbox.contains(new Point(21, 26))); }