예제 #1
0
 public void AroundPoint()
 {
     Assert.AreEqual(new IntRect(2, 3, 5, 5), IntRect.Around(new IntPoint(4, 5), 2));
 }
예제 #2
0
 public void AroundCoordinates()
 {
     Assert.AreEqual(new IntRect(2, 3, 5, 5), IntRect.Around(4, 5, 2));
 }