Esempio n. 1
0
        public static void TestUseCase()
        {
            var a = new Bridge647A { foo = 1 };
            Assert.AreEqual(a["bar"], 1, "Bridge647 A");

            var b = new Bridge647B { foo = 1 };
            Assert.AreEqual(b["bar"], 1, "Bridge647 B bar");
            Assert.AreEqual(b["bar1"], 12, "Bridge647 B bar1");
        }
Esempio n. 2
0
        public static void TestUseCase()
        {
            var a = new Bridge647A {
                foo = 1
            };

            Assert.AreEqual(a["bar"], 1, "Bridge647 A");

            var b = new Bridge647B {
                foo = 1
            };

            Assert.AreEqual(b["bar"], 1, "Bridge647 B bar");
            Assert.AreEqual(b["bar1"], 12, "Bridge647 B bar1");
        }