コード例 #1
0
        public void InputIsAddedAsDependency()
        {
            var input = 1.AsPipelineConstant();
            var sut   = new PassivePipelineStage <int>(input);

            PipelineAssert.DependentOn(sut, input);
        }
コード例 #2
0
        public void PassiveStageIsNeverInvalidated()
        {
            var assignable = new AssignablePipelineStage <int>("", 10);
            var passive    = new PassivePipelineStage <int>(assignable);
            var test       = passive.AttachTestStage();

            assignable.SetValue(11);
            test.AssertInvalidations(0);
        }