public virtual void TestSetToStart() { InsertDefaultEntryByIndex(0); ITimeSeriesEntryCursor cursor = CreateCursor(); cursor.Reset(); Assert.IsNull(cursor.Current); Assert.IsTrue(cursor.MoveNext()); ITimeSeriesEntry entry = cursor.Current; cursor.SetToStart(); Assert.IsTrue(cursor.MoveNext()); Assert.IsTrue(TimeSeriesComparisons.CompareTimeSeriesEntry(entry, cursor.Current)); }