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