示例#1
0
文件: N537B2 .cs 项目: zwmyint/Bridge
        public static int TestB1()
        {
            var l = new Bridge537B();

            l.Add(new Bridge537A()
            {
                Id = 101
            });
            l.Add(new Bridge537A()
            {
                Id = 102
            });

            return(l.GetCount());
        }
示例#2
0
        public static void TestUseCase()
        {
            Assert.AreEqual(2, Bridge537B.TestB1(), "Bridge537 TestB1");

            Assert.AreEqual(1, Bridge537B.TestB2(), "Bridge537 TestB2");
        }
示例#3
0
文件: N537B2 .cs 项目: zwmyint/Bridge
 private static int GetCount(Bridge537B l)
 {
     return(l.list.Count);
 }