public void GreaterOperationTime_should_return_expected_result(long?timestamp1, long?timestamp2, long?expectedTimestamp) { var x = CreateOperationTime(timestamp1); var y = CreateOperationTime(timestamp2); var expectedResult = CreateOperationTime(expectedTimestamp); var result = OperationClock.GreaterOperationTime(x, y); result.Should().Be(expectedResult); }
public void constructor_should_initialize_instance() { var result = new OperationClock(); result.OperationTime.Should().BeNull(); }