public virtual void testBackDoesNothing() { EmptyTreeIterator etp = new EmptyTreeIterator(); etp.back(1); Assert.IsTrue(etp.first()); Assert.IsTrue(etp.eof()); Assert.AreEqual(ObjectId.ZeroId, ObjectId.FromRaw(etp.idBuffer())); etp.back(1); Assert.IsTrue(etp.first()); Assert.IsTrue(etp.eof()); Assert.AreEqual(ObjectId.ZeroId, ObjectId.FromRaw(etp.idBuffer())); }
public virtual void testAtEOF() { EmptyTreeIterator etp = new EmptyTreeIterator(); Assert.IsTrue(etp.first()); Assert.IsTrue(etp.eof()); }