Exemplo n.º 1
0
        public void Clone()
        {
            ImportRegistrationId first  = new ImportRegistrationId(typeof(string), 0, "a");
            ImportRegistrationId second = first.Clone();

            Assert.AreEqual(first, second);
        }
Exemplo n.º 2
0
        public void CompareToOperatorWithEqualObjects()
        {
            var    first  = new ImportRegistrationId(typeof(string), 0, "a");
            object second = first.Clone();

            Assert.AreEqual(0, first.CompareTo(second));
        }
Exemplo n.º 3
0
        public void SmallerThanOperatorWithEqualObjects()
        {
            var first  = new ImportRegistrationId(typeof(string), 0, "a");
            var second = first.Clone();

            Assert.IsFalse(first < second);
        }