Esempio n. 1
0
 public void OutputCompositeIsTheSameAsOutput()
 {
     var e1 = new OutputJack();
     var e2 = new CompositeJack(new OutputJack());
     var e3 = new CompositeJack(new CompositeJack(new OutputJack()));
     AssertAreIdentical(e1, e2);
     AssertAreIdentical(e2, e3);
     AssertAreIdentical(e1, e3);
 }
Esempio n. 2
0
        public void OutputCompositeIsTheSameAsOutput()
        {
            var e1 = new OutputJack();
            var e2 = new CompositeJack(new OutputJack());
            var e3 = new CompositeJack(new CompositeJack(new OutputJack()));

            AssertAreIdentical(e1, e2);
            AssertAreIdentical(e2, e3);
            AssertAreIdentical(e1, e3);
        }