public void IdEqualityUsingBuiltInFunction() { Guid g = Guid.NewGuid(); DMTId id = DMTId.FromGuid(g); DMTId id2 = DMTId.FromGuid(g); Assert.True(id.Equals((object)id2)); }
public void IdEquality() { Guid g = Guid.NewGuid(); DMTId id = DMTId.FromGuid(g); DMTId id2 = DMTId.FromGuid(g); Assert.True(id.Equals(id2)); }