public void ThenTheValueIsNotLessThan() { var subject = new DateTimeValue(DateTimeOffset.Now); Assert.That(subject.LessThan(234), Is.False); }
public void ThenTheValueIsNotGreaterThan() { var subject = new DateTimeValue(DateTimeOffset.Now); Assert.That(subject.GreaterThan(32), Is.False); }
public void ThenDifferentDateTimesDoNotMatch(string value, string input) { var subject = new DateTimeValue(DateTimeOffset.Parse(value)); Assert.That(subject.EqualTo(DateTimeOffset.Parse(input)), Is.False); }
public void ThenTheValueIsNotEqual() { var subject = new DateTimeValue(DateTimeOffset.Now); Assert.That(subject.EqualTo(234), Is.False); }
public void ThenEqualDateTimesMatchCorrectly(string value, string input) { Console.WriteLine(new DateTime(1991, 01, 24, 14,32,00)); var subject = new DateTimeValue(DateTimeOffset.Parse(value)); Assert.That(subject.EqualTo(DateTimeOffset.Parse(input)), Is.True); }
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 ThenDateTimesAfterDoNotMatch(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); }
public void ThenEqualStringsAreNotGreater(string value, string input) { var subject = new DateTimeValue(DateTimeOffset.Parse(value)); Assert.That(subject.GreaterThan(DateTimeOffset.Parse(input)), Is.False); }