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