예제 #1
0
        private void ResultShouldBe(int value)
        {
            Outlet<int> result = Result();

            Adder adder = new Adder();
            adder.Init(mockPatchContainer);
            adder.Execute();

            Assert.AreEqual(value, result.Value);
        }
예제 #2
0
        private void ResultShouldBe(int value)
        {
            Outlet <int> result = Result();

            Adder adder = new Adder();

            adder.Init(mockPatchContainer);
            adder.Execute();

            Assert.AreEqual(value, result.Value);
        }