コード例 #1
0
        public void ContainsDateShouldReturnTrueWhenIntervalIsInfinite(IDateInterval interval, DateTime date)
        {
            var result = interval.ContainsDate(date);

            Assert.True(result);
        }
コード例 #2
0
        public void ContainsDateShouldReturnFalseWhenNullIsProvided(IDateInterval interval)
        {
            var result = interval.ContainsDate(null);

            Assert.False(result);
        }