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