Example #1
0
        public void IdEqualityUsingBuiltInFunction()
        {
            Guid  g   = Guid.NewGuid();
            DMTId id  = DMTId.FromGuid(g);
            DMTId id2 = DMTId.FromGuid(g);

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

            Assert.True(id.Equals(id2));
        }