public void ShouldBeCleanAfterResetWhenContainingCleanObject() { var l = new DirtiableList<IDirtiable>(); l.Add(MakeDirtiable(false)); l.Reset(); Assert.IsTrue(l.IsClean()); }
public void ShouldBeCleanAfterResetWhenContainingCleanObject() { var l = new DirtiableList <IDirtiable>(); l.Add(MakeDirtiable(false)); l.Reset(); Assert.IsTrue(l.IsClean()); }
public void ShouldBeDirtyAfterInsertingObject() { var l = new DirtiableList<IDirtiable>(); l.Reset(); l.Add(MakeDirtiable(false)); Assert.IsFalse(l.IsClean()); }
public void ShouldBeDirtyAfterInsertingObject() { var l = new DirtiableList <IDirtiable>(); l.Reset(); l.Add(MakeDirtiable(false)); Assert.IsFalse(l.IsClean()); }
public void ShouldBeDirtyAfterResetWhenContainingDirtyObject() { var l = new DirtiableList<IDirtiable>(); l.Reset(); l.Add(MakeDirtiable(true)); l.Reset(); Assert.IsFalse(l.IsClean(), "should always be dirty when containing a dirty object"); }
public void ShouldBeDirtyAfterResetWhenContainingDirtyObject() { var l = new DirtiableList <IDirtiable>(); l.Reset(); l.Add(MakeDirtiable(true)); l.Reset(); Assert.IsFalse(l.IsClean(), "should always be dirty when containing a dirty object"); }