public void ValidateStatisticsListToString() { StatisticsList statList = new StatisticsList(); GaussianStatistics gaussStat = GaussianStatistics.GetInstance(2.33, 1.256, 7); DiscreteStatistics discreteStat = DiscreteStatistics.GetInstance(1); MissingStatistics missingStat = MissingStatistics.GetInstance; statList.Add(gaussStat); statList.Add(discreteStat); statList.Add(missingStat); string statString = statList.ToString(); Assert.AreEqual(gaussStat.ToString() + ";" + discreteStat.ToString() + ";" + missingStat.ToString(), statString); }
public void ValidateMissingStatisticsToString() { MissingStatistics missingStat1 = MissingStatistics.GetInstance; Assert.AreEqual("?", missingStat1.ToString()); }