private void TestCompareTo(int expected, OptionalDateTime first, OptionalDateTime second) { Assert.AreEqual(expected, first.CompareTo(second), "Comparing " + first + " to " + second); }
private void TestCompareTo(int expected, OptionalDateTime first, OptionalDateTime second) { first.CompareTo(second).Should().Be(expected, "Comparing " + first + " to " + second); }