public void Test_GetViews_SingleStat(int btsId, byte sectorId, int drops, int assignmentSuccess, string lteName, string cdmaName) { _testService.ImportOneStat(btsId, sectorId, drops, assignmentSuccess); var dateView = _service.GetDateView(DateTime.Parse("2015-1-1"), "Foshan"); var views = dateView.StatViews; Assert.AreEqual(views.Count(), 1); views.ElementAt(0).AssertEqual(sectorId, drops, assignmentSuccess, lteName, cdmaName); }
public TopDrop2GDateView Get(DateTime statDate, string city) { return(_service.GetDateView(statDate, city)); }