public void Test_GetViews_SingleInfrastructure(int id, bool matched, string cellName, double lontitute,
                                                       double lattitute, double azimuth, string indoor)
        {
            _cellRepository.MockSixCells(lontitute, lattitute);
            var views = _service.GetViews("College-" + id);

            if (matched)
            {
                Assert.IsNotNull(views);
                var cellViews = views as CellView[] ?? views.ToArray();
                Assert.AreEqual(cellViews.Count(), 1);
            }
        }
Example #2
0
 public IEnumerable <CellView> Get(string collegeName)
 {
     return(_service.GetViews(collegeName));
 }