public void GetAllWBsTest() { CyberBarManager target = new CyberBarManager(); List <CyberBar> actual = target.GetAllWBs(); Assert.AreEqual(actual.Count >= 1, true); }
public ZzjgServiceImpl() { this.hotelManager = new HotelManager(); this.cyberBarManager = new CyberBarManager(); this.policeOrgManager = new PoliceOrgManager(); this.templeManager = new TempleManager(); this.barrierManager = new BarrierManager(); }
public void GetAllWBsCount() { CyberBarManager target = new CyberBarManager(); // TODO: 初始化为适当的值 int actual = target.GetAllWBsCount(); Assert.AreNotEqual(0, actual); //Assert.Inconclusive("验证此测试方法的正确性。"); }
public void FindCyberBarsBySearchTest() { CyberBarManager target = new CyberBarManager(); string exp = "网络"; List <CyberBar> actual = target.FindCyberBarsBySearch(exp); Assert.AreEqual(actual.Count >= 1, true); //Assert.Inconclusive("验证此测试方法的正确性。"); }