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.Input[0], "Equal Input with array.");
            }
        }
 public BasicMLSequenceSet(BasicMLSequenceSet other)
 {
     _sequences       = other._sequences;
     _currentSequence = other._currentSequence;
 }
 /// <summary>
 /// Construct an enumerator.
 /// </summary>
 /// <param name="owner">The owner of the enumerator.</param>
 public BasicMLSequenceSetEnumerator(BasicMLSequenceSet owner)
 {
     Reset();
     _owner = owner;
 }