public void IsOverlappingは2つの領域が重なっているかどうかを調べる(double x1, double x2, double y1, double y2, bool expected) { var value1 = new Region(x1, x2); var value2 = new Region(y1, y2); Assert.AreEqual(expected, value1.IsOverlapping(value2)); Assert.AreEqual(expected, value2.IsOverlapping(value1)); }