Ejemplo n.º 1
0
        public static void TestUseCase(Assert assert)
        {
            assert.Expect(4);

            var a = new Bridge558A();
            var b = new Bridge558B();

            assert.Equal(a.zz(1), 1, "Bridge558 a.zz int");
            assert.Equal(a.zz(""), 2, "Bridge558 a.zz string");

            assert.Equal(b.zz(1), 1, "Bridge558 b.zz int");
            assert.Equal(b.zz(""), 2, "Bridge558 b.zz string");
        }
Ejemplo n.º 2
0
        public static void TestUseCase(Assert assert)
        {
            assert.Expect(4);

            var a = new Bridge558A();
            var b = new Bridge558B();

            assert.Equal(a.zz(1), 1, "Bridge558 a.zz int");
            assert.Equal(a.zz(""), 2, "Bridge558 a.zz string");

            assert.Equal(b.zz(1), 1, "Bridge558 b.zz int");
            assert.Equal(b.zz(""), 2, "Bridge558 b.zz string");
        }