Beispiel #1
0
 public void HashCodeCanBeRetrievedWhenIdIsNull()
 {
     MixGroup mixGroup = new MixGroup();
     Assert.IsNotNull(mixGroup.GetHashCode(), "Expected a hash code");
 }
Beispiel #2
0
 public void TestOverrides()
 {
     MixGroup group = new MixGroup() { Id = TestId, Name = TestName };
     Assert.IsNotNull(group.GetHashCode(), "Expected a hash code");
     Assert.IsFalse(group.Equals(TestId), "Expected inequality");
 }