public void Test_GetTrendViews_SingleStat(int btsId, byte sectorId, int drops, int assignmentSuccess, string eNodebName, string cellName) { _testService.ImportOneStat(btsId, sectorId, drops, assignmentSuccess); var views = _service.GetTrendViews(DateTime.Parse("2014-12-31"), DateTime.Parse("2015-1-2"), "Foshan"); views.Count().ShouldBe(1); views.ElementAt(0).AssertEqual(drops, assignmentSuccess, eNodebName, cellName, 1); }
public IEnumerable <TopDrop2GTrendView> Get(DateTime begin, DateTime end, string city) { return(_service.GetTrendViews(begin, end, city)); }