public void TestGetQuinaryPopulationData() { var areaCode = AreaCodes.Gp_Burnham; var data = new DataController().GetQuinaryPopulationData(areaCode, GroupIds.PracticeProfiles_SupportingIndicators, 0); Assert.AreEqual(data["Code"], areaCode); }
public void TestAreaValues() { var values = new DataController().GetAreaValues(GroupIds.Phof_HealthcarePrematureMortality, AreaTypeIds.CountyAndUnitaryAuthority, AreaCodes.England, ComparatorIds.England, IndicatorIds.ExcessWinterDeaths, SexIds.Persons, AgeIds.AllAges, ProfileIds.Phof ); // Assert: All values in England Assert.IsTrue(values.Count > 100); }
public void TestGetTimePeriod() { var timePeriod = new DataController().GetTimePeriod(2001,-1,-1,1,YearTypeIds.Calendar); Assert.AreEqual("2001", timePeriod); }