Exemple #1
0
        public static int TestB1()
        {
            var l = new Bridge537B();

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

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

            Assert.AreEqual(1, Bridge537B.TestB2(), "Bridge537 TestB2");
        }
Exemple #3
0
 private static int GetCount(Bridge537B l)
 {
     return(l.list.Count);
 }