示例#1
0
 /**
  * testing the equals method
  *
  * @author Sam Whitlock (cs61b-eo)
  */
 @Test
 public void QPoint2() {
   QPoint myPoint = new QPoint(52, 1, 2, 3, 4);
   QPoint myPt = new QPoint(51, 1, 2, 3, 4);
   assertTrue(myPoint.equals(myPt));
 }