public void TestLookUpComparatorMethodLabel() { PholioLabelReader reader = new PholioLabelReader(); string s = "Overlapping confidence intervals"; Assert.AreEqual(s, reader.LookUpComparatorMethodLabel(12)); Assert.AreNotEqual(s, reader.LookUpComparatorMethodLabel(1)); }
private void AddPopulationTitles(IEnumerable<int> sexIds, IList<string> periodLabels) { IList<string> populationLabels = ReaderFactory.GetPholioReader().GetQuinaryPopulationLabels(); PholioLabelReader labelReader = new PholioLabelReader(); IList<string> sexLabels = sexIds.Select(labelReader.LookUpSexLabel).ToList(); writer.AddPopulationTitles(sexLabels, periodLabels, populationLabels); }
public void TestLookUpYearTypeLabel() { PholioLabelReader reader = new PholioLabelReader(); Assert.AreEqual("Academic", reader.LookUpYearTypeLabel(3)); }
public void TestLookUpSexLabel() { PholioLabelReader reader = new PholioLabelReader(); Assert.AreEqual("Persons", reader.LookUpSexLabel(4)); }
public void TestLookUpAgeLabel() { PholioLabelReader reader = new PholioLabelReader(); Assert.AreEqual("All ages", reader.LookUpAgeLabel(1)); }