public void ValidateStatisticsListSubSequence()
        {
            StatisticsList       statList     = new StatisticsList();
            GaussianStatistics   gaussStat    = GaussianStatistics.GetInstance(2.33, 1.256, 7);
            DiscreteStatistics   discreteStat = DiscreteStatistics.GetInstance(1);
            ContinuousStatistics contStat     = ContinuousStatistics.GetInstance(2.333);
            MissingStatistics    missingStat  = MissingStatistics.GetInstance;
            BooleanStatistics    boolStat     = BooleanStatistics.GetInstance(true);

            statList.Add(gaussStat);
            statList.Add(discreteStat);
            statList.Add(contStat);
            statList.Add(missingStat);
            statList.Add(boolStat);
            Assert.AreEqual(5, statList.Count);
            SufficientStatistics result = null;
            StatisticsList       statListSubSequence = (StatisticsList)statList.SubSequence(0, 2);

            Assert.IsTrue(GaussianStatistics.TryParse(statListSubSequence.ElementAt(0).ToString(), out result));
            Assert.IsTrue(DiscreteStatistics.TryParse(statListSubSequence.ElementAt(1).ToString(), out result));
        }
        public void ValidateStatisticsListGetMissingInstance()
        {
            StatisticsList statList = StatisticsList.GetMissingInstance;

            Assert.IsTrue(statList.ElementAt(0).IsMissing());
        }