public void TestIsCloseToPoint() { PointMock point = new PointMock(); _rectangle.IsCloseToPoint(point, TestDefinitions.DUMP_DOUBLE); Assert.IsTrue(point.IsCalledIsInclusiveInRegion); }
public void TestIsIncludingPoint() { Assert.ThrowsException <ArgumentNullException>(() => _rectangle.IsIncludingPoint(null)); PointMock point = new PointMock(); _rectangle.IsIncludingPoint(point); Assert.IsTrue(point.IsCalledIsInclusiveInRegion); }