public void InsertRandom()
        {
            Console.WriteLine("Seed: " + RandomSeed);

            Random r = new Random(RandomSeed);

            TransactionList tl = new TransactionList();
            for (int i = 0; i < RandomRunCount; i++)
            {
                Transaction tx = new Transaction() { Date = r.NextDate() };
                int index = r.Next(tl.Count + 1);
                tl.Insert(index, tx);

                //Console.WriteLine(String.Format("{0}. {1:yyyy-MM-dd} {2}->?", i, tx.Date, index));
                AssertInOrder(tl);
            }
            Console.WriteLine("<end>");
            AssertInOrder(tl);
        }
        public void DateChangeRandom()
        {
            Console.WriteLine("Seed: " + RandomSeed);
            Random r = new Random(RandomSeed);

            var tl = r.NextTransactionList(RandomRunCount / 5);
            AssertInOrder(tl);

            for (int i = 0; i < RandomRunCount; i++)
            {
                var tx = tl[r.Next(tl.Count)];
                tx.Date = r.NextDate();
                AssertInOrder(tl);
            }

            Console.WriteLine("<end>");
            AssertInOrder(tl);
        }