public static int TestB1() { var l = new Bridge537B(); l.Add(new Bridge537A() { Id = 101 }); l.Add(new Bridge537A() { Id = 102 }); return(l.GetCount()); }
public static void TestUseCase() { Assert.AreEqual(2, Bridge537B.TestB1(), "Bridge537 TestB1"); Assert.AreEqual(1, Bridge537B.TestB2(), "Bridge537 TestB2"); }
private static int GetCount(Bridge537B l) { return(l.list.Count); }