public IMLSequenceSet GenerateSequences(int observationCount,
                                                int observationLength)
        {
            IMLSequenceSet result = new BasicMLSequenceSet();

            for (int i = 0; i < observationCount; i++)
            {
                result.StartNewSequence();
                result.Add(ObservationSequence(observationLength));
            }

            return result;
        }
        public void TestSimple()
        {
            BasicMLSequenceSet seq = new BasicMLSequenceSet();
            seq.StartNewSequence();
            seq.Add(TEST1);
            seq.Add(TEST2);
            seq.Add(TEST3);
            seq.Add(TEST4);
            seq.StartNewSequence();
            seq.Add(TEST1);
            seq.Add(TEST2);
            seq.StartNewSequence();
            seq.Add(TEST3);
            seq.Add(TEST2);
            seq.Add(TEST1);

            Assert.AreEqual(9, seq.Count);
            Assert.AreEqual(3, seq.SequenceCount);

            int i = 0;
            foreach(IMLDataPair pair in seq) {
                Assert.AreEqual(CHECK[i++], (int)pair.InputArray[0]);
            }
        }