public void 期間が重なっていないか2() { var term = new ValidTerm(new DateTime(2018, 10, 1), new DateTime(2018, 10, 30)); var term2 = new ValidTerm(new DateTime(2018, 9, 1), new DateTime(2018, 9, 30)); Assert.IsFalse(term.IsOverrap(term2)); }
public void 期間が重なっているか3() { var term = new ValidTerm(new DateTime(2018, 10, 1), new DateTime(2018, 10, 30)); var term2 = new ValidTerm(new DateTime(2018, 10, 1), new DateTime(2018, 10, 30)); Assert.IsTrue(term.IsOverrap(term2)); }