예제 #1
0
 public void BetweenPoints()
 {
     Assert.AreEqual(new IntRect(2, 3, 4, 5), IntRect.Between(new IntPoint(2, 3), new IntPoint(6, 8)));
 }
예제 #2
0
 public void BetweenCoordinates()
 {
     Assert.AreEqual(new IntRect(2, 3, 4, 5), IntRect.Between(2, 3, 6, 8));
 }