public void Equals_2TimeGuids_FirstMoreThanSecond_NotEqual() { DateTime today = DateTime.Now; TimeGuid x = new TimeGuid(today.AddMinutes(3)); TimeGuid y = new TimeGuid(today); Assert.False(x.Equals(y), "A10: The two values were not the same and should NOT have equaled each other"); }
public void Equals_2TimeGuids_SameTime_EqualEachOther() { DateTime today = DateTime.Now; TimeGuid x = new TimeGuid(today); TimeGuid y = new TimeGuid(today); Assert.True(x.Equals(y), "A10: The two values were the same and should have equaled each other"); }