public void ThenTheValueIsNotLessThan() { var subject = new DateTimeValue(DateTimeOffset.Now); Assert.That(subject.LessThan(234), Is.False); }
public void ThenDateTimesAfterDoNotMatch(string value, string input) { var subject = new DateTimeValue(DateTimeOffset.Parse(value)); Assert.That(subject.LessThan(DateTimeOffset.Parse(input)), Is.False); }
public void ThenEqualDateTimesAreNotLess(string value, string input) { var subject = new DateTimeValue(DateTimeOffset.Parse(value)); Assert.That(subject.LessThan(DateTimeOffset.Parse(input)), Is.False); }
public void ThenDateTimesBeforeMatchCorrectly(string value, string input) { var subject = new DateTimeValue(DateTimeOffset.Parse(value)); Assert.That(subject.LessThan(DateTimeOffset.Parse(input)), Is.True); }