public void InputIsRegisteredAsDependency() { var input = 1.AsPipelineConstant(); var sut = new ConcurrentExecutionPipelineStage <int>(input); PipelineAssert.DependentOn(sut, input); }
public void InputValueIsPassedThrough(int value) { var input = value.AsPipelineConstant(); var sut = new ConcurrentExecutionPipelineStage <int>(input); Assert.AreEqual(value, sut.GetValue().Result); }