public void TimeList_AdjacentDifferent() { TimeList <Nullable <int> > list = new TimeList <Nullable <int> >(); Random r = new Random(); for (int i = 0; i < 10000; i++) { int n = r.Next(1, 10); list.Add(n); } Assert.IsTrue(list.ValidateAdjacentDifferent()); }