public void MedianHtml() { var expected = "<h1>Median</h1><ul><li><b>Temperature</b>: 8<li><b>Humidity</b>: 2</ul>"; var actual = ReportMakerHelper.MedianHtmlReport(data); Assert.AreEqual(expected, actual); }
public void MeanAndStdMarkdown() { var expected = "## Mean and Std\n\n * **Temperature**: 9±17.0880074906351\n\n * **Humidity**: 2±0.816496580927726\n\n"; var actual = ReportMakerHelper.MeanAndStdMarkdownReport(data); Assert.AreEqual(expected, actual); }
public void MedianMarkdown() { var expected = "## Median\n\n * **Temperature**: 8\n\n * **Humidity**: 2\n\n"; var actual = ReportMakerHelper.MedianMarkdownReport(data); Assert.AreEqual(expected, actual); }
public void MeanAndStdHtml() { var expected = @"<h1>Mean and Std</h1><ul><li><b>Temperature</b>: 9±17.0880074906351<li><b>Humidity</b>: 2±0.816496580927726</ul>"; var actual = ReportMakerHelper.MeanAndStdHtmlReport(data); Assert.AreEqual(expected, actual); }
public void CheckSecondReport() { var result = "## Median\n\n * **Temperature**: 22\n\n * **Humidity**: 2.5\n\n"; Assert.AreEqual(result, ReportMakerHelper.MakeSecondReport(data)); }
public void CheckFirstReport() { var result = @"<h1>Mean and Std</h1><ul><li><b>Temperature</b>: 9±17.0880074906351<li><b>Humidity</b>: 2±0.816496580927726</ul>"; Assert.AreEqual(result, ReportMakerHelper.MakeFirstReport(data)); }