Esempio n. 1
0
 public void ContainsArgumentException(XY coord,
                                       int left,
                                       int top,
                                       int right,
                                       int bottom)
 {
     Assert.Throws(typeof(ArgumentException), delegate { coord.ContainedBy(left, top, right, bottom); });
 }
Esempio n. 2
0
 public void Contains(XY coord,
                      int left,
                      int top,
                      int right,
                      int bottom,
                      bool result)
 {
     Assert.AreEqual(coord.ContainedBy(left, top, right, bottom), result);
 }